postfix/rootfs/etc/confd/templates/ldap-virtual-mailbox-maps.cf.tmpl
2016-10-28 11:52:44 +02:00

10 lines
355 B
Cheetah

server_host = {{getenv "LDAP_URI"}}
start_tls = {{getenv "LDAP_STARTTLS" "yes"}}
bind = yes
bind_dn = {{getenv "LDAP_BIND_DN"}}
bind_pw = {{getenv "LDAP_BIND_PASSWORD"}}
search_base = {{getenv "LDAP_MAILBOX_SEARCH_BASE"}}
version = 3
query_filter = {{getenv "LDAP_MAILBOX_QUERY_FILTER"}}
result_attribute = {{getenv "LDAP_MAILBOX_RESULT_ATTRIBUTE" "cn"}}