Add basic LDAP config for recipients and senders

This commit is contained in:
Morre 2020-07-03 13:46:00 +02:00
parent 660b1900c8
commit 782a07a450
No known key found for this signature in database
GPG key ID: 5D9B9B1B8F424BBC
5 changed files with 46 additions and 12 deletions

View file

@ -0,0 +1,12 @@
{% 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 %}