From e20aeb5d8954d6ee67141b7278f3707360cf992e Mon Sep 17 00:00:00 2001 From: Gilles Dartiguelongue Date: Fri, 2 Oct 2015 23:11:50 +0200 Subject: [PATCH] Fix handling of smtpd_sasl_auth_enable Defaults to yes but will not write yes unless a default is provided to set_parameter. --- postfix/files/main.cf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postfix/files/main.cf b/postfix/files/main.cf index 3e1136c..9299055 100644 --- a/postfix/files/main.cf +++ b/postfix/files/main.cf @@ -43,7 +43,7 @@ # SASL parameters (http://www.postfix.org/SASL_README.html) {%- do relay_restrictions.append('permit_sasl_authenticated') %} {%- do recipient_restrictions.append('permit_sasl_authenticated') %} -{{ set_parameter('smtpd_sasl_auth_enable') }} +{{ set_parameter('smtpd_sasl_auth_enable', 'yes') }} {{ set_parameter('smtpd_sasl_path', 'smtpd') }} {{ set_parameter('smtpd_sasl_type', 'cyrus') }} {{ set_parameter('smtpd_sasl_security_options', ['noanonymous', 'noplaintext']) }}