Theoretically simple problem.

I have stunnel set up for imaps->imap
I can telnet to 993 (imaps) and get some kind of a response that identifies that I'm actually talking to the imap server. But when I try to use the client, it fails:


Nov 4 15:49:31 localhost stunnel: LOG5[10667:2814715584]: stunnel 4.18 on i486-pc-linux-gnu with OpenSSL 0.9.8c 05 Sep 2006 Nov 4 15:49:31 localhost stunnel: LOG5[10667:2814715584]: Threading:PTHREAD SSL:ENGINE Sockets:POLL,IPv6 Auth:LIBWRAP Nov 4 15:49:31 localhost stunnel: LOG5[10667:2814715584]: stunnel connected from 192.168.1.10:43187 Nov 4 15:50:02 localhost stunnel: LOG3[10667:2814715584]: connect_wait: getsockopt: Connection refused (111) Nov 4 15:50:02 localhost stunnel: LOG5[10667:2814715584]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket

inetd.conf shows:
imaps stream tcp nowait root /usr/bin/stunnel4 stunnel4 /etc/stunnel/mail.conf
# but I think this part of it works OK, I think...

How do I test further?

Reply via email to