Browse Source

client: disable TLSv1.0 & 1.1

http://www.postfix.org/postconf.5.html#smtp_tls_mandatory_protocols
Fabian Peter Hammerle 5 years ago
parent
commit
e6ae818bb6
1 changed files with 2 additions and 1 deletions
  1. 2 1
      main.cf

+ 2 - 1
main.cf

@@ -16,7 +16,8 @@ smtp_tls_secure_cert_match = nexthop
 smtp_tls_policy_maps = hash:/etc/postfix/smtp-tls-policy-map
 # trusted CA for exceptions specified in policy map (lvl verify & secure)
 smtp_tls_CAfile = /etc/postfix/smtp-tls-trusted-ca.pem
-smtp_tls_mandatory_protocols = !SSLv2, !SSLv3
+# docs recommend against whitelist
+smtp_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1
 smtp_tls_session_cache_database = btree:${data_directory}/smtp-tls-session-cache
 # DANE TLSA records are validated with DNSSEC
 smtp_dns_support_level = dnssec