|
|
@ -32,7 +32,7 @@ mydestination =
|
|
|
|
relayhost = {{ RELAYHOST }}
|
|
|
|
relayhost = {{ RELAYHOST }}
|
|
|
|
{% if RELAYUSER %}
|
|
|
|
{% if RELAYUSER %}
|
|
|
|
smtp_sasl_auth_enable = yes
|
|
|
|
smtp_sasl_auth_enable = yes
|
|
|
|
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
|
|
|
|
smtp_sasl_password_maps = lmdb:/etc/postfix/sasl_passwd
|
|
|
|
smtp_sasl_security_options = noanonymous
|
|
|
|
smtp_sasl_security_options = noanonymous
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
@ -58,7 +58,7 @@ tls_ssl_options = NO_COMPRESSION
|
|
|
|
smtp_tls_security_level = {{ OUTBOUND_TLS_LEVEL|default('may') }}
|
|
|
|
smtp_tls_security_level = {{ OUTBOUND_TLS_LEVEL|default('may') }}
|
|
|
|
smtp_tls_mandatory_protocols = !SSLv2, !SSLv3
|
|
|
|
smtp_tls_mandatory_protocols = !SSLv2, !SSLv3
|
|
|
|
smtp_tls_protocols =!SSLv2,!SSLv3
|
|
|
|
smtp_tls_protocols =!SSLv2,!SSLv3
|
|
|
|
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
|
|
|
|
smtp_tls_session_cache_database = lmdb:${data_directory}/smtp_scache
|
|
|
|
|
|
|
|
|
|
|
|
###############
|
|
|
|
###############
|
|
|
|
# Virtual
|
|
|
|
# Virtual
|
|
|
|