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
Loading
Loading
Loading
Loading
+9 −1
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 @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