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

Eike Kettner updated JAMES-1443:
--------------------------------

    Attachment: james1443.patch

I found the problem is that in `AbstractRecipientRewriteTableMailet` on line 
160 the method `handleMappings` exits too early, without returning potentially 
existing local recipients.

The patch just removes this return statement and adds a unit test.
                
> Rewrite recipients to both local and remote users fails
> -------------------------------------------------------
>
>                 Key: JAMES-1443
>                 URL: https://issues.apache.org/jira/browse/JAMES-1443
>             Project: James Server
>          Issue Type: Bug
>    Affects Versions: Trunk, 3.0-beta4
>            Reporter: Eike Kettner
>         Attachments: james1443.patch
>
>
> If I define a mapping:
>     mixed@localhost --> a@locahost, [email protected]
> mails for "mixed@localhost" are only delivered to the remote recipients, but 
> not to the local ones. If I instead define only local or only remote 
> recipients, the mails are delivered as expected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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