From 87e0a2b3986c1e2e6e09ccdfe5443adb7355f3d4 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 21 Dec 2012 17:44:13 -0200 Subject: Adding postfix_use_smtps parameter --- templates/master.cf.debian-etch.erb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'templates/master.cf.debian-etch.erb') diff --git a/templates/master.cf.debian-etch.erb b/templates/master.cf.debian-etch.erb index 3b3bd32..9e1a4d3 100644 --- a/templates/master.cf.debian-etch.erb +++ b/templates/master.cf.debian-etch.erb @@ -13,10 +13,11 @@ # -o smtpd_enforce_tls=yes # -o smtpd_sasl_auth_enable=yes # -o smtpd_client_restrictions=permit_sasl_authenticated,reject -#smtps inet n - - - - smtpd -# -o smtpd_tls_wrappermode=yes -# -o smtpd_sasl_auth_enable=yes -# -o smtpd_client_restrictions=permit_sasl_authenticated,reject +<% if postfix_use_smtps == 'yes' %>smtps inet n - - - - smtpd + -o smtpd_tls_wrappermode=yes + -o smtpd_sasl_auth_enable=yes + -o smtpd_client_restrictions=permit_sasl_authenticated,reject +<% end %> #628 inet n - - - - qmqpd pickup fifo n - - 60 1 pickup cleanup unix n - - - 0 cleanup -- cgit v1.2.3