1
0
forked from infra/ansible
infra/roles/mail/templates/postfix/ldap-virtual-maps.cf.j2
Markus Hauschild 942a3d6724 Fix LDAP for mail role.
Missing postfix-ldap, use uri instead of host.
2016-02-23 14:57:53 +01:00

13 lines
290 B
Django/Jinja

server_host = {{ ldap_uri }}
#tls_ca_cert_file = TODO
#tls_require_cert = yes
bind = yes
bind_dn = {{ ldap_binddn }}
bind_pw = {{ ldap_bindpw }}
version = 3
search_base = {{ ldap_base }}
query_filter = (&(objectClass=mailUser)(mail=%s))
result_attribute = uid
result_format = %u/.maildir/