Add template for sasl auth configuration
This commit is contained in:
parent
8cf866e399
commit
649e769424
3 changed files with 12 additions and 1 deletions
|
@ -123,7 +123,12 @@ smtpd_sasl_exceptions_networks = {{ postfix_smtpd_sasl_exceptions_networks | joi
|
|||
### SMTP Auth client side
|
||||
smtp_sasl_auth_enable = yes
|
||||
smtp_sasl_auth_soft_bounce = no
|
||||
smtp_sasl_password_maps = hash:/etc/postfix/sasl/sasl_passwd
|
||||
{% if postfix_smtp_sasl_password_maps is defined %}
|
||||
smtp_sasl_password_maps =
|
||||
{% for map in postfix_smtp_sasl_password_maps %}
|
||||
{{ map.type }}:{{ map.path }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
smtp_sasl_security_options = noanonymous
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue