postfix: use new syntax for TLS version

This commit is contained in:
link2xt 2024-01-26 19:42:18 +00:00
parent 9ddf60d0fc
commit 8d5f91bf98

View File

@ -23,7 +23,7 @@ smtp_tls_CApath=/etc/ssl/certs
smtp_tls_security_level=may
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtp_tls_policy_maps = socketmap:inet:127.0.0.1:8461:postfix
smtpd_tls_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1
smtpd_tls_protocols = >=TLSv1.2
smtpd_tls_exclude_ciphers = ECDHE-RSA-RC4-SHA, RC4, aNULL, DES-CBC3-SHA, ECDHE-RSA-DES-CBC3-SHA, EDH-RSA-DES-CBC3-SHA
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination