ansible/roles/mail/templates/ldap-virtual-maps.cf.j2

14 lines
311 B
Django/Jinja

server_host = {{ ldap_host }}
start_tls = yes
#tls_ca_cert_file =
#tls_require_cert = yes
bind = yes
bind_dn = {{ ldap_binddn }}
bind_pw = {{ ldap_bindpw }}
version = 3
search_base = dc=binary-kitchen,dc=de
query_filter = (&(objectClass=mailUser)(mail=%s))
result_attribute = uid
result_format = %u/.maildir/