NGiNX does not pass SMTP AUTH command to server?

Maxim Dounin mdounin at mdounin.ru
Sun Feb 28 12:49:27 MSK 2010


Hello!

On Sun, Feb 28, 2010 at 08:02:19PM +1100, Andree Leidenfrost wrote:

[...]

> According to wireshark, rather than sending the AUTH command the first
> time, nginx just sends a HELO command. The second time the AUTH command

Yes, nginx doesn't pass AUTH command to backend for SMTP.  You 
should configure backend to accept mail from nginx without 
authentication.

[...]

> I few notes on the config:
> - I am using a trivial authentication server.
> - I have turned ssl off for test purposes.
> - I have turned xclient off because Postfix does not accept the xclient 
>   login attribute. (I don't believe it is required?)

You need postfix patched to work with nginx's xclient on.
Patch is here:

http://citrin.ru/nginx:xclient-login-patch

Maxim Dounin



More information about the nginx mailing list