Add configuration for virtual and relay domains and aliases

This commit is contained in:
phil 2023-03-24 14:56:37 +01:00
parent 8d7838ad26
commit bce2d91ea3
8 changed files with 81 additions and 24 deletions

View file

@ -1,7 +1,9 @@
# {{ ansible_managed }}
{% if postfix_virtual_domains is defined %}
{% for domain in postfix_virtual_domains %}
{% if postfix_domains is defined %}
{% for domain in postfix_domains %}
{% if domain.type == "virtual" %}
{{ "%-50s %s" | format(domain.name, "#domain") }}
{% endif %}
{% endfor %}
{% endif %}