hi i want to run nginx for pops
I configured nginx to listen on 995, actual pops is running on 1995(both
on same server, tried on diff servers also still the same error).
if i do openssl s_client -ssl3 -connect :1995 authentication
working fine
but if i do openssl s_client -ssl3 -connect :995 authentication
is not working, it just hung after entering the password
i’m not using epoll also
plz suggest me
On Fri, Apr 29, 2011 at 12:41:32PM -0400, moorthi wrote:
hi i want to run nginx for pops
I configured nginx to listen on 995, actual pops is running on 1995(both
on same server, tried on diff servers also still the same error).
if i do openssl s_client -ssl3 -connect :1995 authentication
working fine
but if i do openssl s_client -ssl3 -connect :995 authentication
is not working, it just hung after entering the password
i’m not using epoll also
plz suggest me
You have to setup correct auth_http script. Assuming you’ve
already done it.
SSL backends isn’t supported by nginx mail proxy, you need
non-ssl backend and direct nginx to it.
On Mon, May 02, 2011 at 01:15:08AM -0400, moorthi wrote:
auth_http script and other setttings are done correctly,
this is what i am getting in error.log
upstream timed out (111: Connection timed out) while connecting to
upstream
I believe this is clear enough: nginx wasn’t able to connect to
upstream (backend) server. Check backend server and port returned
by auth_http script.
it’s saying +OK for user in connect
but after entering pass it’s giving above error.
After PASS command nginx will try to authenticate client with
auth_http script and then connect to upstream (backend) server.
As soon as connection to upstream times out - nginx should return
“-ERR internal server error” in reply to PASS command (if client
is still here).
Maxim told you twice that the feature you’re asking for is unsupported.
If you really need this functional by some reason, see there: Re: nginx mail proxy - dovecot ssl backend .
auth_http script and other setttings are done correctly,
this is what i am getting in error.log
upstream timed out (111: Connection timed out) while connecting to
upstream
it’s saying +OK for user in connect
but after entering pass it’s giving above error.