[ https://issues.apache.org/jira/browse/MAILETSTANDARD-11?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Maurer resolved MAILETSTANDARD-11. ----------------------------------------- Resolution: Fixed Fix Version/s: 1.1 Assignee: Norman Maurer Fixed. Thanks for reporting > PostmasterAlias mailet overrides local postmaster@ user when it exists > ---------------------------------------------------------------------- > > Key: MAILETSTANDARD-11 > URL: https://issues.apache.org/jira/browse/MAILETSTANDARD-11 > Project: JAMES Standard Mailets > Issue Type: Bug > Affects Versions: 1.0 > Reporter: Andrzej Rusin > Assignee: Norman Maurer > Priority: Minor > Fix For: 1.1 > > > I think there's a glitch in the PostmasterAlias mailet. In my opinion there > should be NOT: > if (addr.getLocalPart().equalsIgnoreCase("postmaster") && > mailetContext.isLocalServer(addr.getDomain())) { > but > if (addr.getLocalPart().equalsIgnoreCase("postmaster") && > mailetContext.isLocalServer(addr.getDomain()) && > ! mailetContext.isLocalEmail(addr) { > which means, if you have a valid postmaster@given_domain user, it should not > get aliased. > It's quite important in "virtual"/multi-domain environment. -- 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: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org