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

13 lines
321 B
Plaintext
Raw Normal View History

server_host = {{ ldap_uri }}
tls_ca_cert_file = /etc/ssl/certs/ca-certificates.crt
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 }}
2016-03-26 10:46:46 +01:00
query_filter = (&(objectClass=kitchenUser)(mail=%s))
result_attribute = uid
result_format = %u/.maildir/