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

14 lines
618 B
Plaintext
Raw Normal View History

2020-11-21 20:22:14 -05:00
# {{ ansible_managed }}
server_host = {{ ldap_host }}
server_port = {{ ldap_port }}
version = 3
bind = yes
start_tls = no
2020-11-21 20:31:33 -05:00
bind_dn = {{ ldap_bind_username }}
bind_pw = {{ ldap_bind_password }}
2020-11-21 20:22:14 -05:00
search_base = {{ ldap_basedn }}
scope = sub
query_filter = (&(accountStatus=active)(enabledService=mail)(enabledService=deliver)(|(&(|(memberOfGroup=%s)(shadowAddress=%s))(objectClass=mailUser))(&(memberOfGroup=%s)(!(shadowAddress=%s))(|(objectClass=mailExternalUser)(objectClass=mailList)(objectClass=mailAlias)))))
result_attribute= mail
debuglevel = 0