aboutsummaryrefslogtreecommitdiff
path: root/templates/master.cf.redhat5.erb
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-12-21 18:11:25 -0200
committerSilvio Rhatto <rhatto@riseup.net>2012-12-21 18:11:25 -0200
commit74b5b00bbd18c1ead3a6425530666817e50ffb96 (patch)
tree48e88993ed1b098923e68f3e4f3801142e7d7f53 /templates/master.cf.redhat5.erb
parent0668aee2fa4e9dd881b0f1fefbe6efbe86e9c740 (diff)
downloadpuppet-postfix-74b5b00bbd18c1ead3a6425530666817e50ffb96.tar.gz
puppet-postfix-74b5b00bbd18c1ead3a6425530666817e50ffb96.tar.bz2
Setting postfix_use_submission (2)
Diffstat (limited to 'templates/master.cf.redhat5.erb')
-rw-r--r--templates/master.cf.redhat5.erb9
1 files changed, 5 insertions, 4 deletions
diff --git a/templates/master.cf.redhat5.erb b/templates/master.cf.redhat5.erb
index 092d145..1d98d27 100644
--- a/templates/master.cf.redhat5.erb
+++ b/templates/master.cf.redhat5.erb
@@ -9,10 +9,11 @@
# ==========================================================================
<%= postfix_smtp_listen %>:smtp inet n - n - - smtpd
#smtp inet n - n - - smtpd
-#submission inet n - n - - smtpd
-# -o smtpd_enforce_tls=yes
-# -o smtpd_sasl_auth_enable=yes
-# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
+<% if postfix_use_submission == 'yes' %>submission inet n - n - - smtpd
+ -o smtpd_enforce_tls=yes
+ -o smtpd_sasl_auth_enable=yes
+ -o smtpd_client_restrictions=permit_sasl_authenticated,reject
+<% end %>
<% if postfix_use_smtps == 'yes' %>smtps inet n - n - - smtpd
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes