Hi, I'm experimenting with James 3.0-beta4 to integrate it in my app. I created a mapping from a address like "list@local.domain" to two other addresses, where one is a local user and the other one is a remote address. The result is, that any mail going to list@local.domain is delivered to the remote address but not to the local user. If I instead use only local users (or only remote user), the mails are all delivered locally (or remotely) as expected. It only does not work if there is a mix of local and remote users.
Debugging leads me to the "handleMappings" Method in AbstractRecipientRewriteTableMailet (about line 150). There the recipients are sorted into two lists: remoteRecipients and localRecipients. If there are some remote users, the mail is sent (l. 152) and the method exits in line 160. Therefore the local recipients are not returned. At first thought I would return the local recipient list in l.160, too? But I may have very well missed something and/or completely misused the recipient-rewrite stuff altogether. Thanks for any advice. Regards, Eike --------------------------------------------------------------------- To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org