aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-07-10 13:34:10 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-07-10 13:34:10 -0300
commit972762ce0c8b18950bdb37300b45477e7eb782d5 (patch)
tree3fae37fff74f4a327d7fbdc42e31076b2dc9e8ea /templates
parent3b8ef235fa00291e5d7f2be7512a55b3fbd3693d (diff)
downloadpuppet-postfix-972762ce0c8b18950bdb37300b45477e7eb782d5.tar.gz
puppet-postfix-972762ce0c8b18950bdb37300b45477e7eb782d5.tar.bz2
Allowing 'all' for postfix_smtp_listen
Diffstat (limited to 'templates')
-rw-r--r--templates/master.cf.debian-etch.erb3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/master.cf.debian-etch.erb b/templates/master.cf.debian-etch.erb
index 9a8351a..d711551 100644
--- a/templates/master.cf.debian-etch.erb
+++ b/templates/master.cf.debian-etch.erb
@@ -7,7 +7,8 @@
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
-<%= postfix_smtp_listen %>:smtp inet n - - - - smtpd
+<% if postfix_smtp_listen == 'all' %>smtp inet n - - - - smtpd
+<% else %><%= postfix_smtp_listen %>:smtp inet n - - - - smtpd<% end %>
#submission inet n - - - - smtpd
# -o smtpd_enforce_tls=yes
# -o smtpd_sasl_auth_enable=yes