summaryrefslogtreecommitdiff
path: root/templates/master.cf.redhat5.erb
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-25 14:03:24 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-25 14:03:24 -0200
commit8b78b15e57c4b802be46c540a16be42fd23435f5 (patch)
tree7f5b17dcf1da2de3626d3105c961534b16c1db87 /templates/master.cf.redhat5.erb
parent5e806b99e2448dfb4bcd880b3c77578e1a15c8aa (diff)
Switching to parametrized classes
Diffstat (limited to 'templates/master.cf.redhat5.erb')
-rw-r--r--templates/master.cf.redhat5.erb10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/master.cf.redhat5.erb b/templates/master.cf.redhat5.erb
index 1d98d27..01741e4 100644
--- a/templates/master.cf.redhat5.erb
+++ b/templates/master.cf.redhat5.erb
@@ -7,14 +7,14 @@
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
-<%= postfix_smtp_listen %>:smtp inet n - n - - smtpd
+<%= smtp_listen %>:smtp inet n - n - - smtpd
#smtp inet n - n - - smtpd
-<% if postfix_use_submission == 'yes' %>submission inet n - n - - smtpd
+<% if use_submission == 'yes' %>submission inet n - n - - smtpd
-o smtpd_enforce_tls=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
<% end %>
-<% if postfix_use_smtps == 'yes' %>smtps inet n - n - - smtpd
+<% if use_smtps == 'yes' %>smtps inet n - n - - smtpd
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
@@ -82,6 +82,6 @@ ifmail unix - n n - - pipe
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
-<%- unless postfix_mastercf_tail.to_s.empty? then -%>
-<%= postfix_mastercf_tail %>
+<%- unless mastercf_tail.to_s.empty? then -%>
+<%= mastercf_tail %>
<%- end -%>