ansible-role-postfix/templates/virtual-aliases.cf.j2
2020-07-28 16:06:16 +02:00

11 lines
409 B
Django/Jinja

{% if postfix.ldap.enable %}
server_host = {{ postfix.ldap.server.host }}
server_port = {{ postfix.ldap.server.port }}
bind_dn = {{ postfix.ldap.bind_dn }}
bind_pw = {{ postfix.ldap.bind_pw }}
search_base = {{ postfix.ldap.search_base }}
query_filter = {{ postfix.ldap.filter }}
result_attribute = {{ postfix.ldap.result_attributes.maildrop }}
{% else %}
# LDAP is not configured for this server.
{% endif %}