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
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment