Fix handling of smtpd_sasl_auth_enable
Defaults to yes but will not write yes unless a default is provided to set_parameter.
This commit is contained in:
parent
51d2e5936d
commit
e20aeb5d89
@ -43,7 +43,7 @@
|
|||||||
# SASL parameters (http://www.postfix.org/SASL_README.html)
|
# SASL parameters (http://www.postfix.org/SASL_README.html)
|
||||||
{%- do relay_restrictions.append('permit_sasl_authenticated') %}
|
{%- do relay_restrictions.append('permit_sasl_authenticated') %}
|
||||||
{%- do recipient_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_path', 'smtpd') }}
|
||||||
{{ set_parameter('smtpd_sasl_type', 'cyrus') }}
|
{{ set_parameter('smtpd_sasl_type', 'cyrus') }}
|
||||||
{{ set_parameter('smtpd_sasl_security_options', ['noanonymous', 'noplaintext']) }}
|
{{ set_parameter('smtpd_sasl_security_options', ['noanonymous', 'noplaintext']) }}
|
||||||
|
Loading…
Reference in New Issue
Block a user