X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/dec35a3f16cf549b18439409490e529c0b89bdd8..0f4c2cc1f0f20da37ee758ef257bbce3ac6d9d54:/roles/email/templates/main.cf diff --git a/roles/email/templates/main.cf b/roles/email/templates/main.cf index f6840cc..a03d627 100644 --- a/roles/email/templates/main.cf +++ b/roles/email/templates/main.cf @@ -87,7 +87,7 @@ relay_clientcerts = hash:$config_directory/relay_clientcerts {% endif %} # setup virtual delivery domains, aliases and destinations -virtual_mailbox_domains = +virtual_mailbox_domains = {{ postfix.alias_domains | default("") }} {% if postfix.mailman is defined %} {% for item in postfix.mailman.domains %} {{item}}{% endfor %}{% endif %} {% if postfix.dovecot is defined %} {% for item in postfix.dovecot.domains %} {{item}}{% endfor %}{% endif %}