[
https://issues.apache.org/jira/browse/JAMES-3431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17255809#comment-17255809
]
Benoit Tellier commented on JAMES-3431:
---------------------------------------
https://github.com/linagora/james-project/pull/4181 carries over DSN options to
remote SMTP servers relying on javax.mail SMTP server.
Integration tests had been written using the Mock SMTP server previously
modified.
Please note that the current work suffer from the following flows, that are
limitations induces by the use of javax.mail:
- No ORCPT support. This RCPT DSN parameter will be omitted on exchanges with
remote SMTP servers. The impact is likely low: the value matches the RCPT TO,
even in the case of mailing list rewrites. Maybe it is of some uses in the
advent of aliases, for the sender MUA to display the actual user this mail was
sent to.
- As NOTIFY parameter is set on a per-SMTPMessage basis, we have to transmit
several time the message (one time for each combinasons of NOTIFY parameters
used for recipients of the message - recipients with the same notify parameters
can be grouped together). The impact is low: it incurs a small performance
cost. Also, I would be surprised MUAs set per-recipients values on sent emails
and not global values.
We now remain to write the integration tests listed above.
> Relay DSN options on RemoteDelivery
> -----------------------------------
>
> Key: JAMES-3431
> URL: https://issues.apache.org/jira/browse/JAMES-3431
> Project: James Server
> Issue Type: Bug
> Components: Remote Delivery, SMTPServer
> Affects Versions: 3.5.0
> Reporter: Karsten Otto
> Priority: Major
>
> Since James claims to support the DSN SMTP extension, it may receive a mail
> submission according to [RFC 3461|https://tools.ietf.org/html/rfc3461]:
> {code:java}
> MAIL FROM:<[email protected]> RET=HDRS ENVID=QQ314159
> RCPT TO:<[email protected]> NOTIFY=SUCCESS,FAILURE,DELAY
> ORCPT=rfc822;[email protected]
> RCPT TO:<[email protected]> NOTIFY=NEVER{code}
> In this case James should
> * remember the given DSN options (NOTIFY, ORCPT, RET, ENVID) for each
> recipient, and
> * provide the same options when relaying the mail to remote servers via the
> RemoteDelivery mailet.
> (The DSN options should be accessible to other interested mailets as well,
> e.g. for bounce processing.)
> Possibly related issues:
> https://issues.apache.org/jira/browse/JAMES-322
> https://issues.apache.org/jira/browse/JAMES-362
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]