Add basic LDAP config for recipients and senders
This commit is contained in:
parent
660b1900c8
commit
782a07a450
5 changed files with 46 additions and 12 deletions
12
templates/virtual-recipients.cf.j2
Normal file
12
templates/virtual-recipients.cf.j2
Normal 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 %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue