[ https://issues.apache.org/jira/browse/JAMES-3837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17621300#comment-17621300 ]
ouvtam commented on JAMES-3837: ------------------------------- Superb, I will tackle this! > Add ESMTP ID as mail attribute by default > ----------------------------------------- > > Key: JAMES-3837 > URL: https://issues.apache.org/jira/browse/JAMES-3837 > Project: James Server > Issue Type: Improvement > Components: SMTPServer > Reporter: ouvtam > Priority: Minor > > During mailet processing it would be helpful to have a link to the > originating SMTP session (i.e. ESMTP ID). This allows better traceability in > log files and MDC. > My proposal: > * add session.getSessionID() as a mail attribute in > org.apache.james.smtpserver.AddDefaultAttributesMessageHook > * add session ID to MDC in > org.apache.james.mailetcontainer.impl.ProcessorImpl and making it accessible > in the mailetcontainer > Any thoughts? -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org