Commit 5724532c authored by Raphaël Pinson's avatar Raphaël Pinson
Browse files

Merge pull request #36 from vrillusions/fix-mastercf-redhat

Add template variables that were in debian master.cf but not redhat.
parents e1255f78 b2e49b90
......@@ -7,11 +7,19 @@
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
<% if @smtp_listen == 'all' -%>
<% if @master_smtp -%>
<%= @master_smtp %>
<% elsif @smtp_listen == 'all' -%>
smtp inet n - n - - smtpd
<% else -%>
<%= @smtp_listen %>:smtp inet n - n - - smtpd
<% end -%>
<% if @master_submission -%>
<%= @master_submission %>
<% end -%>
<% if @master_smtps -%>
<%= @master_smtps %>
<% end -%>
#smtp inet n - n - - smtpd
#submission inet n - n - - smtpd
# -o smtpd_enforce_tls=yes
......
Markdown is supported
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