summaryrefslogtreecommitdiff
path: root/templates/master.cf.debian-etch.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/master.cf.debian-etch.erb')
-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