From 0668aee2fa4e9dd881b0f1fefbe6efbe86e9c740 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 21 Dec 2012 18:01:20 -0200 Subject: Setting postfix_use_submission --- templates/master.cf.debian-wheezy.erb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'templates/master.cf.debian-wheezy.erb') diff --git a/templates/master.cf.debian-wheezy.erb b/templates/master.cf.debian-wheezy.erb index 4e081a0..6a90f2d 100644 --- a/templates/master.cf.debian-wheezy.erb +++ b/templates/master.cf.debian-wheezy.erb @@ -14,11 +14,12 @@ #smtpd pass - - - - - smtpd #dnsblog unix - - - - 0 dnsblog #tlsproxy unix - - - - 0 tlsproxy -#submission inet n - - - - smtpd -# -o smtpd_tls_security_level=encrypt -# -o smtpd_sasl_auth_enable=yes -# -o smtpd_client_restrictions=permit_sasl_authenticated,reject -# -o milter_macro_daemon_name=ORIGINATING +<% if postfix_use_smtps == 'yes' %>submission inet n - - - - smtpd + -o smtpd_tls_security_level=encrypt + -o smtpd_sasl_auth_enable=yes + -o smtpd_client_restrictions=permit_sasl_authenticated,reject + -o milter_macro_daemon_name=ORIGINATING +<% end %> <% if postfix_use_smtps == 'yes' %>smtps inet n - - - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes -- cgit v1.2.3