[ 
https://issues.apache.org/jira/browse/MAILETSTANDARD-12?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dinyar Rabady updated MAILETSTANDARD-12:
----------------------------------------

    Attachment: james_patch.diff

It seems I was mistaken about swapping the lines. I think it is only necessary 
to swap the function calls in the try block.
                
> In DSNBounce the exception handling is mixed up for setting Remote Address 
> and Host
> -----------------------------------------------------------------------------------
>
>                 Key: MAILETSTANDARD-12
>                 URL: https://issues.apache.org/jira/browse/MAILETSTANDARD-12
>             Project: JAMES Standard Mailets
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Dinyar Rabady
>            Assignee: Robert Burrell Donkin
>            Priority: Trivial
>         Attachments: james_patch.diff
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> In the DSNBounce Mailet line 159 and line 165 are probably mixed up. (These 
> are the catch blocks for setting the Remote Address and Host respectively).
> This means that newMail.setRemoteHost("localhost"); and 
> newMail.setRemoteAddr("127.0.0.1"); should be swapped.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to