Commit a20d988c authored by Cédric Jeanneret's avatar Cédric Jeanneret Committed by Issey Llambias
Browse files

postfix - allow smtp/smtps/submissions in template

parent 96bde40a
Loading
Loading
Loading
Loading
+9 −1
Changes for templates/master.cf.debian.erb: 9 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -7,11 +7,19 @@
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
<% if postfix_smtp_listen == 'all' -%>
<% if has_variable?('postfix_master_smtp') -%>
<%= postfix_master_smtp %>
<% elsif postfix_smtp_listen == 'all' -%>
smtp      inet  n       -       -       -       -       smtpd
<% else -%>
<%= postfix_smtp_listen %>:smtp      inet  n       -       -       -       -       smtpd
<% end -%>
<% if has_variable?('postfix_master_submission') -%>
<%= postfix_master_submission %>
<% end -%>
<% if has_variable?('postfix_master_smtps') -%>
<%= postfix_master_smtps %>
<% end -%>
#submission inet n       -       -       -       -       smtpd
#  -o smtpd_enforce_tls=yes
#  -o smtpd_sasl_auth_enable=yes