]> gitweb.fluxo.info Git - puppet-postfix.git/commitdiff
Allowing 'all' for postfix_smtp_listen
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 10 Jul 2010 16:34:10 +0000 (13:34 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 10 Jul 2010 16:34:10 +0000 (13:34 -0300)
templates/master.cf.debian-etch.erb

index 9a8351ab0f34ce3d497246d5796f19e09d564e7f..d71155186944ac2bd5c3f19926fe3211942c9bd6 100644 (file)
@@ -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