X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/dec35a3f16cf549b18439409490e529c0b89bdd8..d5c82e9fb028dd90bb67704206f27cc03a4e94c1:/roles/email/templates/main.cf?ds=sidebyside 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 %}