aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-07-05 16:29:57 +0000
committerNicolas Vigier <boklm@mageia.org>2013-07-05 16:29:57 +0000
commit773756f1eadc8a064137eb7b3916fd8f2a5b43a6 (patch)
tree278ca051e6dc8123f8f4118baff4f18122ab969d /modules/postfix
parent2f822c80542766053a082493db5146b7db4ee5c5 (diff)
downloadpuppet-773756f1eadc8a064137eb7b3916fd8f2a5b43a6.tar
puppet-773756f1eadc8a064137eb7b3916fd8f2a5b43a6.tar.gz
puppet-773756f1eadc8a064137eb7b3916fd8f2a5b43a6.tar.bz2
puppet-773756f1eadc8a064137eb7b3916fd8f2a5b43a6.tar.xz
puppet-773756f1eadc8a064137eb7b3916fd8f2a5b43a6.zip
postfix: enable opportunistic TLS when sending (from Dan Fandrich)
Diffstat (limited to 'modules/postfix')
-rw-r--r--modules/postfix/templates/main.cf3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/postfix/templates/main.cf b/modules/postfix/templates/main.cf
index ffda06b3..8a255087 100644
--- a/modules/postfix/templates/main.cf
+++ b/modules/postfix/templates/main.cf
@@ -95,6 +95,9 @@ smtpd_use_tls = no
#smtpd_tls_cert_file = /etc/pki/tls/certs/postfix.pem
#smtpd_tls_key_file = /etc/pki/tls/private/postfix.pem
#smtpd_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
+# enable opportunistic TLS when sending
+smtp_tls_security_level = may
+smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
<%- if all_tags.include?('postfix::server') -%>
smtpd_etrn_restrictions = reject