On Sun, Dec 14, 2008 at 1:38 PM, Norman Maurer <[email protected]> wrote:
> Ok I will try to fix it now.. Do you think we should create an extra
> mailet or better include it in localDelivery ?
> I think I would prolly add it to localDelivery
UsersRepositoryAliasingForwarding is used by LocalDelivery and appears
to contain code to sort out aliasing. the problem i have ATM is in
James:
/**
* @see
org.apache.mailet.MailetContext#isLocalEmail(org.apache.mailet.MailAddress)
*/
public boolean isLocalEmail(MailAddress mailAddress) {
String userName = mailAddress.toString();
if (!isLocalServer(mailAddress.getHost())) {
return false;
}
if (virtualHosting == false) {
userName = mailAddress.getUser();
}
return localusers.contains(userName);
}
this ignores virtual hosting and so the server assumes that the mail
is for a remote domain.
- robert
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]