With the recent scares over POODLE, we have begun the process of changing everyone's connections to TLS, instead of SSL...
While this process went smoothly for HTTPS, it seems that Dovecot & Postfix reject (or drop, rather - since the connection attempts time out) mail clients' attempts to connect over TLS ---
However, when I run :
openssl s_client -connect {our IP}:465 -tls1_2
// also on works on 993
It returns:
CONNECTED
[...]
New, TLSv1/SSLv3, Cipher is [...]
Server public key is 4096 bit
[...]
SSL-Session:
Protocol : TLSv1.2
[...]
In /etc/postfix/main.cf
, the relevant lines read:
smtpd_use_tls = yes
[...]
smtpd_tls_security_level = may
smtpd_tls_auth_only = no
smtp_tls_note_starttls_offer = yes
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
In /etc/dovecot/${grep -l -R 'tls'}
- the only relevant lines are uncommented are:
ssl_cert = </etc/dovecot/dovecot.pem
ssl_key = </etc/dovecot/private/dovecot.pem
Which, after looking at the rest of the file, I'm not sure how SSL ever worked with Dovecot --- but it has - !
I'm sure that I just have a simple misunderstanding of how this works and that there is a small piece of information that I'm missing which will perfectly explain why openssl s_client
shows positive results, while nothing else can connect via TLS...
So, I appreciate your insight on this -