Hi Robert,

I think it works like it should... if virtualhosting is not used it
just use the username to check if it is enable it use the complete
emailaddress.
Why you think it not works as aspected ?

Cheers,
Norman

2008/12/14 Robert Burrell Donkin <[email protected]>:
> 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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to