From: Silvio Rhatto Date: Sat, 10 Jul 2010 16:34:10 +0000 (-0300) Subject: Allowing 'all' for postfix_smtp_listen X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=972762ce0c8b18950bdb37300b45477e7eb782d5;p=puppet-postfix.git Allowing 'all' for postfix_smtp_listen --- 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