diff --git a/cmdeploy/src/cmdeploy/postfix/main.cf.j2 b/cmdeploy/src/cmdeploy/postfix/main.cf.j2 index 413cd819..2a1867cf 100644 --- a/cmdeploy/src/cmdeploy/postfix/main.cf.j2 +++ b/cmdeploy/src/cmdeploy/postfix/main.cf.j2 @@ -28,7 +28,6 @@ smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtp_tls_policy_maps = inline:{nauta.cu=may} smtp_tls_protocols = >=TLSv1.2 smtp_tls_mandatory_protocols = >=TLSv1.2 -smtpd_tls_protocols = >=TLSv1.2 # Disable anonymous cipher suites # and known insecure algorithms. diff --git a/cmdeploy/src/cmdeploy/postfix/master.cf.j2 b/cmdeploy/src/cmdeploy/postfix/master.cf.j2 index e298aa84..6dc03ed8 100644 --- a/cmdeploy/src/cmdeploy/postfix/master.cf.j2 +++ b/cmdeploy/src/cmdeploy/postfix/master.cf.j2 @@ -15,6 +15,7 @@ smtp inet n - y - - smtpd -v smtp inet n - y - - smtpd {%- endif %} -o smtpd_tls_security_level=encrypt + -o smtpd_tls_mandatory_protocols=>=TLSv1.2 -o smtpd_proxy_filter=127.0.0.1:{{ config.filtermail_smtp_port_incoming }} submission inet n - y - 5000 smtpd -o syslog_name=postfix/submission