projects
/
ansible.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
also manage sender_transport_map
[ansible.git]
/
roles
/
email
/
templates
/
transport_map
diff --git
a/roles/email/templates/transport_map
b/roles/email/templates/transport_map
index 1d025deb7f1bb63562adac7805c830f9b22c7e2f..d06ef9bc2847be1c1f8e1003b4b903c9ae1f6972 100644
(file)
--- 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 %}
{% endfor %}
+{% endif %}
+
+{% if postfix.dovecot is defined %}
+{% for item in postfix.dovecot.domains %}
+{{item}} lmtp:unix:private/dovecot-lmtp
+{% endfor %}
+{% endif %}