ansible-role-disposable-mail/templates/vmailbox.j2

8 lines
291 B
Django/Jinja

{% if postfix_virtual_domains|length > 0 %}
main@{{ postfix_domain }} {{ postfix_domain }}/main/
{% for domain in postfix_virtual_domains %}
main@{{ domain.name }} {{ domain.name }}/main/
{% endfor %}
{% else %}
main@{{ postfix_domain }} {{ postfix_domain }}/main/
{% endif %}