RPT wrote:
> Am running ...
> 
> James - 2.2.0 (as I said 'plain vanilla' i.e. no special configurations,
> matchers, alterations etc)
> J2se Runtime Environment 5.0 Update 3
> Windows XP SP2
> 
> Thanks for any assistance.


The problem here is that James when you use the AUTH checks that the
username equals the senderAddress.
You are authenticating with a specified user but your sender address is
empty.

This is a bug in James but If we remove the NPE bug you will get the
"502 Incorrect Authentication for Specified Email Address".

if ((!authUser.equals(senderAddress.getUser())) ||

(!theConfigData.getMailServer().isLocalServer(senderAddress.getHost()))) {
    responseString = "503 Incorrect Authentication for Specified Email
Address";
    writeLoggedFlushedResponse(responseString);
    if (getLogger().isErrorEnabled()) {
        StringBuffer errorBuffer =
            new StringBuffer(128)
                .append("User ")
                .append(authUser)
                .append(" authenticated, however tried sending email as ")
                .append(senderAddress);
        getLogger().error(errorBuffer.toString());
    }
    return;
}

Stefano

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to