Update to 2023-05-03 11:00

This commit is contained in:
Daniel Berteaud
2023-05-03 11:00:11 +02:00
parent e8adef3130
commit 4e82ed1972
5 changed files with 18 additions and 7 deletions

View File

@@ -20,7 +20,7 @@ smtpd_recipient_restrictions = permit_mynetworks,reject
{% if postfix_relay_host is defined and postfix_relay_host != False %}
relayhost = {{ postfix_relay_host }}
{% if postfix_relay_user is defined and postfix_relay_pass is defined %}
{% if postfix_relay_user is defined and postfix_relay_user != '' and postfix_relay_pass is defined and postfix_relay_pass != ''%}
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/relay_auth
{% endif %}