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
11
templates/virtual-senders.cf.j2
Normal file
11
templates/virtual-senders.cf.j2
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{% 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 %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue