ansible-role-postfix/templates/virtual-senders.cf.j2

11 lines
304 B
Django/Jinja

{% if postfix.ldap.enable %}
bind = yes
# bind_dn =
# bind_pw =
server_host = {{ postfix.ldap.server_host }}
search_base = {{ postfix.ldap.senders.search_base }}
query_filter = {{ postfix.ldap.senders.query_filter }}
result_attribute = cn
{% else %}
# LDAP is not configured for this server.
{% endif %}