X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/46730acf42cbde7d087b887eb78c3f06dc27d9ca..34cf4db2749cb9993eb062f6f4a32c1f4067a6b3:/roles/email/templates/transport_map?ds=sidebyside diff --git a/roles/email/templates/transport_map b/roles/email/templates/transport_map index 1d025de..d06ef9b 100644 --- a/roles/email/templates/transport_map +++ b/roles/email/templates/transport_map @@ -1,3 +1,11 @@ -{% for item in postfix.virtual_mailbox_domains %} -{{item.domain}} {{item.transport}} +{% if postfix.mailman is defined %} +{% for item in postfix.mailman.domains %} +{{item}} mailman {% endfor %} +{% endif %} + +{% if postfix.dovecot is defined %} +{% for item in postfix.dovecot.domains %} +{{item}} lmtp:unix:private/dovecot-lmtp +{% endfor %} +{% endif %}