[ 
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-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to