[
https://issues.apache.org/jira/browse/JAMES-3837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17620679#comment-17620679
]
Benoit Tellier commented on JAMES-3837:
---------------------------------------
Looks like a great idea.
> 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: [email protected]
For additional commands, e-mail: [email protected]