james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eike Kettner (JIRA)" <server-...@james.apache.org>
Subject [jira] [Updated] (JAMES-1443) Rewrite recipients to both local and remote users fails
Date Sat, 15 Dec 2012 12:02:12 GMT

     [ 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, b@remote.com
> 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message