summaryrefslogtreecommitdiffstats
path: root/roles/mtaserver/templates/main.cf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/mtaserver/templates/main.cf.j2')
-rw-r--r--roles/mtaserver/templates/main.cf.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/mtaserver/templates/main.cf.j2 b/roles/mtaserver/templates/main.cf.j2
index 89098b9..d42c022 100644
--- a/roles/mtaserver/templates/main.cf.j2
+++ b/roles/mtaserver/templates/main.cf.j2
@@ -351,6 +351,10 @@ mynetworks = hash:/etc/postfix/network_table
relayhost = [smtp.free.fr]
{% else %}
relayhost = [mail.casperlefantom.net]:587
+smtp_sasl_auth_enable = yes
+smtp_sasl_password_maps = hash:/etc/postfix/credentials
+smtp_sasl_security_options = noanonymous
+smtpd_tls_auth_only = yes
{% endif %}
smtp_tls_security_level = may
smtp_tls_ciphers = high