generate virtual transport_map from mailman and dovecot domain lists
[ansible.git] / roles / email / templates / transport_map
1 {% if postfix.mailman is defined %}
2 {% for item in postfix.mailman.domains %}
3 {{item}}                mailman
4 {% endfor %}
5 {% endif %}
6
7 {% if postfix.dovecot is defined %}
8 {% for item in postfix.dovecot.domains %}
9 {{item}}                lmtp:unix:private/dovecot-lmtp
10 {% endfor %}
11 {% endif %}