blse2-public/package-postfix_access/templates/postfix-ldap/virtual_mailbox_maps.cf.j2

15 lines
558 B
Django/Jinja

# {{ ansible_managed }}
server_host = {{ ldap_host }}
server_port = {{ ldap_port }}
version = 3
bind = yes
start_tls = no
bind_dn = {{ ldap_bind_username }}
bind_pw = {{ ldap_bind_password }}
search_base = {{ ldap_basedn }}
scope = sub
query_filter = (&(objectClass=mailUser)(|(mail=%s)(&(enabledService=shadowaddress)(shadowAddress=%s)))(accountStatus=active)(enabledService=mail)(enabledService=deliver))
result_attribute= mailMessageStore
result_format = %s/Maildir/
debuglevel = 0