Problems with PHP authentication imap/smtp proxy

Maxim Dounin mdounin at mdounin.ru
Mon Apr 14 11:06:42 UTC 2014


Hello!

On Sun, Apr 13, 2014 at 03:25:35PM -0400, cybermass wrote:

> I managed to write my php auth script but still having problems
> authenticating. 
> Also this is what I see in the logs:
> [error] 22014#0: *3234 recv() failed (111: Connection refused) while in http
> auth state, client: back.end.ip server: 0.0.0.0:993, login:
> "user at domain.com"
> 
> Also do I call this script with the following auth_http line? I never see
> anything listening on 9000. Where is this 9000 coming from? I just see
> everyone using it:
> 
> auth_http  127.0.0.1:9000/mail/auth.php;

It's just a random port number, which is expected to be used by 
a HTTP server which is capable of running your auth script.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx mailing list