LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Disabling TLSv1.0 on postfix = ~25% of mails not received (https://www.linuxquestions.org/questions/linux-server-73/disabling-tlsv1-0-on-postfix-%3D-%7E25-of-mails-not-received-4175572056/)

psycroptic 02-12-2016 12:39 AM

Disabling TLSv1.0 on postfix = ~25% of mails not received
 
Hello. I have been running an Arch Linux Postfix mail server for about 3 years now and have had quite a good experience with it. However, I have been keeping up with current security news and have seen that TLSv1.0 is broken and should be disabled (indeed, the "PCI DSS" standards disallow it.) So I have added the following in /etc/postfix/main.cf:

Code:

smtpd_tls_protocols = !SSLv2,!SSLv3,!TLSv1
smtp_tls_protocols = !SSLv2,!SSLv3,!TLSv1
smtpd_tls_mandatory_protocols = !SSLv2,!SSLv3,!TLSv1
smtp_tls_mandatory_protocols = !SSLv2,!SSLv3,!TLSv1

However, since doing that I see a fair amount of the following in the server logs:

Code:

Feb 11 20:22:32 MailServer postfix/smtpd[23118]: connect from ec2-54-183-213-26.us-west-1.compute.amazonaws.com[54.183.213.26]
Feb 11 20:22:32 MailServer postfix/smtpd[23118]: SSL_accept error from ec2-54-183-213-26.us-west-1.compute.amazonaws.com[54.183.213.26]: -1
Feb 11 20:22:32 MailServer postfix/smtpd[23118]: warning: TLS library problem: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol:s23_srvr.c:640:
Feb 11 20:22:32 MailServer postfix/smtpd[23118]: lost connection after STARTTLS from ec2-54-183-213-26.us-west-1.compute.amazonaws.com[54.183.213.26]
Feb 11 20:22:32 MailServer postfix/smtpd[23118]: disconnect from ec2-54-183-213-26.us-west-1.compute.amazonaws.com[54.183.213.26] ehlo=1 starttls=0/1 commands=1/2

And the mail (in this case from Amazon) is not received. Many other sending domains have this problem, primarily Yahoo, Comcast, and several other big names. If I re-enable TLSv1, the messages come through.

Is this because the sending servers only support TLSv1? (Kind of hard to believe that Amazon and Yahoo still operate that way...). Or could it be due to misconfiguration on my part?

TenTenths 02-15-2016 07:37 AM

Just so you're aware of it, the PCI standard has been recently changed to allow TLS1.0 until (I believe) 2018

[Edit:]Rather annoyingly as we spent a lot of effort in to going TLS1.1 ahead of our normal upgrade schedule.


All times are GMT -5. The time now is 01:43 PM.