Skip to content

Commit

Permalink
postfix - allow smtp/smtps/submissions in template
Browse files Browse the repository at this point in the history
  • Loading branch information
Cédric Jeanneret authored and illambias committed Oct 20, 2011
1 parent 96bde40 commit a20d988
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion templates/master.cf.debian.erb
Expand Up @@ -7,11 +7,19 @@
# service type private unpriv chroot wakeup maxproc command + args # service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100) # (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 smtp inet n - - - - smtpd
<% else -%> <% else -%>
<%= postfix_smtp_listen %>:smtp inet n - - - - smtpd <%= postfix_smtp_listen %>:smtp inet n - - - - smtpd
<% end -%> <% 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 #submission inet n - - - - smtpd
# -o smtpd_enforce_tls=yes # -o smtpd_enforce_tls=yes
# -o smtpd_sasl_auth_enable=yes # -o smtpd_sasl_auth_enable=yes
Expand Down

0 comments on commit a20d988

Please sign in to comment.