I am running Postfix and Dovecot using IMAP and SSL using unix accounts. When running openssl s_client -connect localhost:993
I get an error message Connection Refused, Errno 111
.
Using telnet mail.example.com 25 and 587 return the correct responses.
I flushed iptables so it's empty with default ACCEPT. Any idea what to check?
dovecot -n
passdb {
driver = pam
}
protocols = imap
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
}
service imap-login {
inet_listener imaps {
port = 993
ssl = yes
}
}
ssl_cert = /path/to/cert
ssl_key = /path/to/cert
userdb {
driver = passwd
}
Using Dovecot 2.x