Internal Server Error messages nginx proxy POP/IMAP/SMTP

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


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

Hi there,

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

See the example at
http://nginx.org/en/docs/mail/ngx_mail_auth_http_module.html#protocol, and
try making the request manually and seeing what exact response comes back.

>     auth_http  192.168.122.170:80/correo-proxy-auth/index.php;

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" \
       -i http://192.168.122.170:80/correo-proxy-auth/index.php

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.

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list