mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2022-02-18 16:00
This commit is contained in:
@@ -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
|
||||
|
@@ -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 %}
|
||||
|
||||
|
Reference in New Issue
Block a user