ouvtam created JAMES-3837: ----------------------------- Summary: 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
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