I want Dovecot handling IMAPS.
/etc/dovecot.conf:
protocols = imaps imaps_listen = * ssl_disable = no ssl_cert_file = /etc/ssl/certs/dovecot.pem ssl_key_file = /etc/ssl/private/dovecot.pem
The problem is that Dovecot is not listening on 993 port, or there's something listening on 993, but it does not introduce itself.
There's no problem if Dovecot listens on 143 (IMAP). When I telnet on 143, Dovecot introduces itself like this:
$ telnet localhost 143 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'.
- OK dovecot ready.
But when I telnet on 993:
$ telnet localhost 993 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'.
There is not other process that would be listening on IMAPS 993 port.
Dovecot was compiled with SSL support:
# ldd /usr/sbin/dovecot libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x20597000) libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x205c6000) libdl.so.2 => /lib/libdl.so.2 (0x206ba000) libc.so.6 => /lib/libc.so.6 (0x206be000) /lib/ld-linux.so.2 (0x20580000)