Update to 2022-02-18 16:00

This commit is contained in:
Daniel Berteaud
2022-02-18 16:00:06 +01:00
parent 67e32c9d59
commit 767adc1e83
19 changed files with 282 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ mydestination = {{ postfix_mydestination | default(['$myhostname', 'localhost.$m
mynetworks = {{ postfix_mynetworks | default([ '127.0.0.0/8' ]) | join (', ') }}
smtpd_recipient_restrictions = permit_mynetworks,reject
{% if postfix_relay_host is defined %}
{% 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 %}
smtp_sasl_auth_enable = yes

View File

@@ -1,5 +1,5 @@
# {{ ansible_managed }}
{% if postfix_relay_host is defined and postfix_relay_user is defined and postfix_relay_pass is defined %}
{% if postfix_relay_host is defined and postfix_relay_host != False and postfix_relay_user is defined and postfix_relay_pass is defined %}
{{ postfix_relay_host }} {{ postfix_relay_user }}:{{ postfix_relay_pass }}
{% endif %}