aboutsummaryrefslogtreecommitdiff
path: root/templates/master.cf.debian-wheezy.erb
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-12-21 17:44:13 -0200
committerSilvio Rhatto <rhatto@riseup.net>2012-12-21 17:44:13 -0200
commit87e0a2b3986c1e2e6e09ccdfe5443adb7355f3d4 (patch)
treec96ae8727bd84816b6441c104e785f7349a64227 /templates/master.cf.debian-wheezy.erb
parentbc0d56603ec320b4a287c2da4294117af3931589 (diff)
downloadpuppet-postfix-87e0a2b3986c1e2e6e09ccdfe5443adb7355f3d4.tar.gz
puppet-postfix-87e0a2b3986c1e2e6e09ccdfe5443adb7355f3d4.tar.bz2
Adding postfix_use_smtps parameter
Diffstat (limited to 'templates/master.cf.debian-wheezy.erb')
-rw-r--r--templates/master.cf.debian-wheezy.erb11
1 files changed, 6 insertions, 5 deletions
diff --git a/templates/master.cf.debian-wheezy.erb b/templates/master.cf.debian-wheezy.erb
index 55906e5..4e081a0 100644
--- a/templates/master.cf.debian-wheezy.erb
+++ b/templates/master.cf.debian-wheezy.erb
@@ -19,11 +19,12 @@
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
# -o milter_macro_daemon_name=ORIGINATING
-#smtps inet n - - - - smtpd
-# -o smtpd_tls_wrappermode=yes
-# -o smtpd_sasl_auth_enable=yes
-# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
-# -o milter_macro_daemon_name=ORIGINATING
+<% if postfix_use_smtps == 'yes' %>smtps inet n - - - - smtpd
+ -o smtpd_tls_wrappermode=yes
+ -o smtpd_sasl_auth_enable=yes
+ -o smtpd_client_restrictions=permit_sasl_authenticated,reject
+ -o milter_macro_daemon_name=ORIGINATING
+<% end %>
#628 inet n - - - - qmqpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup