Fix a conditional.
This commit is contained in:
parent
2c2f874e97
commit
5517833232
|
@ -36,7 +36,7 @@ mail_owner = postfix
|
|||
# other configuration parameters.
|
||||
#
|
||||
myhostname = {{ ansible_fqdn }}
|
||||
{% if postfix_use_domain_name is defined %}
|
||||
{% if postfix_use_domain_name is defined and postfix_use_domain_name %}
|
||||
{% elif domain_name is defined %}
|
||||
mydomain = {{ domain_name }}
|
||||
{% else %}
|
||||
|
@ -131,7 +131,7 @@ proxy_interfaces = {% for proxy_int in postfix_proxy_interfaces %}{{ proxy_int }
|
|||
#
|
||||
# See also below, section "REJECTING MAIL FOR UNKNOWN LOCAL USERS".
|
||||
#
|
||||
{% if postfix_use_domain_name is defined %}
|
||||
{% if postfix_use_domain_name is defined and postfix_use_domain_name %}
|
||||
{% elif domain_name is defined %}
|
||||
mydestination = {{ ansible_fqdn }}, localhost, {{ domain_name }}
|
||||
{% else %}
|
||||
|
|
Loading…
Reference in New Issue