[ https://issues.apache.org/jira/browse/JAMES-3837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
René Cordier closed JAMES-3837. ------------------------------- Fix Version/s: 3.8.0 Resolution: Fixed Merged! Thanks for this contribution [~ouvtam] > 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 > Fix For: 3.8.0 > > Time Spent: 20m > Remaining Estimate: 0h > > 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