nginx imaps auth_http dovecot

Alokat mailing at alokat.org
Mon Mar 7 00:22:38 MSK 2011


Hi,

I'm not sure, what I have to use as an URL for auth_http?
Cause Dovecot uses a postgresql database.

My Config:

mail {
   auth_http  localhost:9000/cgi-bin/auth;

   imap_auth  cram-md5;
   smtp_auth cram-md5;
   imap_capabilities "IMAP4rev1" "UIDPLUS";
   proxy on;

   server {
     listen imap.server.org:993;
     server_name imap.server01.org;
     ssl      on;
     ssl_certificate      /usr/local/nginx/ssl/imap.pilshusen.de.crt;
     ssl_certificate_key  /usr/local/nginx/ssl/imap.pilshusen.de.key;
#    ssl_session_timeout  5m;
#    ssl_protocols  SSLv2 SSLv3 TLSv1;
#    ssl_ciphers  ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
#    ssl_prefer_server_ciphers   on;
     protocol imap;
   }
}


And I got the following error:

2011/03/06 22:17:17 [error] 1564#0: *8 recv() failed (111: Connection 
refused) while in http auth state, client: 188.192.38.254, server: 
84.210.211.83:993, login: "user at domain.org"


Regards,
alokat




More information about the nginx mailing list