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

14 lines
557 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
bind_dn = {{ username_ldap_admin }}
bind_pw = {{ passwd_ldap_admin }}
search_base = ou=Users,domainName=%d,{{ ldap_basedn }}
scope = one
query_filter = (&(|(mail=%s)(&(enabledService=shadowaddress)(shadowAddress=%s)))(objectClass=mailUser)(accountStatus=active)(enabledService=mail)(enabledService=senderbcc))
result_attribute= userSenderBccAddress
debuglevel = 0