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

14 lines
307 B
Plaintext
Raw Normal View History

server_host = {{ ldap_host }}
2016-02-15 19:21:17 +01:00
start_tls = yes
2016-02-15 21:30:24 +01:00
#tls_ca_cert_file = TODO
2016-02-15 19:21:17 +01:00
#tls_require_cert = yes
bind = yes
bind_dn = {{ ldap_binddn }}
bind_pw = {{ ldap_bindpw }}
version = 3
2016-02-15 21:30:24 +01:00
search_base = {{ ldap_base }}
query_filter = (&(objectClass=mailUser)(mail=%s))
result_attribute = uid
result_format = %u/.maildir/