IMAP over SSL (only) handshake hangs

Dan White dwhite at olp.net
Tue Jan 13 09:44:11 EST 2015


On 01/13/15 11:22 +0100, Niels Dettenbach wrote:
>While any other IMAP and POP3 ports with and without SSL / TLS are working -
>connects to imaps (993) just hangs, there is nothing in the logs and a
>
>	openssl s_client -connect mail.myhost.abc:993
>
>just brings out:
>
>	CONNECTED(00000003)
>
>what times out after minutes. Connection to 995 (POP3s) works perfectly.

>The service is configured (and worked until tonight!):
>
>  imaps         cmd="imapd -s" listen="imaps" prefork=0 maxchild=150
>  pop3s         cmd="pop3d -s" listen="pop3s" prefork=0 maxchild=50
>
>A crazy thing is, that connections to "localhost" seems to work as soon as it
>uses the IPv6 adress of the localhost (::):
>
>	imtest -v -s localhost
>
>while the IPv4 variant doesnt seem to work:
>
>	imtest -v -s 127.0.0.1

You may have something else running on tcp:imaps. Verify with:

netstat -lp | grep imaps

On 01/13/15 12:24 +0100, Niels Dettenbach wrote:
>Ive done a
>
>strace -f -p on the master process which brought out:

See /usr/share/doc/cyrus-imapd-2.x/README.Debian.debug.gz for help in
debugging a particular service.

-- 
Dan White


More information about the Info-cyrus mailing list