You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Andrzej Rusin (Created) (JIRA)" <se...@james.apache.org> on 2012/01/03 17:38:39 UTC
[jira] [Created] (JAMES-1358) PostmasterAlias mailet overrides
local postmaster@ user when it exists
PostmasterAlias mailet overrides local postmaster@ user when it exists
----------------------------------------------------------------------
Key: JAMES-1358
URL: https://issues.apache.org/jira/browse/JAMES-1358
Project: JAMES Server
Issue Type: Improvement
Components: Matchers/Mailets (bundled)
Affects Versions: 3.0-beta3
Reporter: Andrzej Rusin
Priority: Minor
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-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] [Resolved] (MAILETSTANDARD-11) PostmasterAlias mailet
overrides local postmaster@ user when it exists
Posted by "Norman Maurer (Resolved) (JIRA)" <ji...@apache.org>.
[ 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-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org