You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2017/07/24 02:23:00 UTC
[jira] [Commented] (JAMES-2097) Using full recipients for following
MX iteration when partial fails on delivering
[ https://issues.apache.org/jira/browse/JAMES-2097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16097876#comment-16097876 ]
Tellier Benoit commented on JAMES-2097:
---------------------------------------
Hi.
Thanks for your returns. It looks like we are badly handling return codes of the receiving server, thus fall into the issue you describe.
Using javax for sending the message, partially sent messages generate a SendFailedException. We are just not removing the recipients that have successfully already been sent from the mail. (See handleSendFailExceptionOnMxIteration in MailDelivrer)
> Using full recipients for following MX iteration when partial fails on delivering
> ---------------------------------------------------------------------------------
>
> Key: JAMES-2097
> URL: https://issues.apache.org/jira/browse/JAMES-2097
> Project: James Server
> Issue Type: Bug
> Components: Remote Delivery
> Reporter: TzeKai Lee
>
> Untested, just looks weird to me when browsing code.
> In the {{SendFailedExceptionMail}} handling of {{Delivrer.doDeliver}}, there is no update of recipients to valid unsent addresses like it did in the exception handling of {{Delivrer.deliver}}.
> It seems to me that if dns resolved more than one MX and for some reason the first MX only accept partial recipients and the other MX accept full recipients, it will result duplicated mail for the partially accepted recipients
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org