ansible-role-postfix/templates/virtual_domains.j2

15 lines
372 B
Plaintext
Raw Normal View History

2020-06-08 16:57:40 +02:00
{% if postfix_virtual_domains | bool %}
{% for dom in postfix_virtual_alias_domains_data %}
{{ dom.domain }} OK
{% endfor %}
{% elif postfix_virtual_addresses | bool %}
{% for dom in postfix_virtual_mailbox_domains_data %}
{{ dom.domain }} OK
{% endfor %}
{% if postfix_hostname_as_virtual_domain %}
{{ ansible_fqdn }} OK
{% endif %}
2020-06-08 16:57:40 +02:00
{% else %}
localdomain OK
{% endif %}