Internal Server Error messages nginx proxy POP/IMAP/SMTP

Francis Daly francis at
Wed Mar 11 22:43:17 UTC 2015

On Wed, Mar 11, 2015 at 03:16:51PM -0400, wrote:

Hi there,

It sounds like one problem you have is the auth_http request not getting
the expected response.

See the example at, and
try making the request manually and seeing what exact response comes back.

>     auth_http;

What response do you get from this: ?

  curl -H "Auth-Method: plain" \
       -H "Auth-User: ricardo.carrillo" \
       -H "Auth-Pass: r3dh4t" \
       -H "Auth-Protocol: imap" \
       -H "Auth-Login-Attempt: 1" \

Add whatever other header name/value pairs you need for one successful login.

Until that replies with the expected response, none of your mail side of
things will work.

Francis Daly        francis at

More information about the nginx mailing list