12 lines
328 B
Django/Jinja
12 lines
328 B
Django/Jinja
{% if postfix.ldap.enable %}
|
|
bind = yes
|
|
# bind_dn =
|
|
# bind_pw =
|
|
server_host = {{ postfix.ldap.server_host }}
|
|
search_base = {{ postfix.ldap.recipients.search_base }}
|
|
query_filter = {{ postfix.ldap.recipients.query_filter }}
|
|
result_attribute = cn
|
|
result_format =%s
|
|
{% else %}
|
|
# LDAP is not configured for this server.
|
|
{% endif %}
|