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

14 lines
513 B
Django/Jinja

# {{ 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 = {{ ldap_basedn }}
scope = one
query_filter = (&(objectClass=mailDomain)(|(domainName=%d)(domainAliasName=%d))(accountStatus=active)(enabledService=mail)(enabledService=senderbcc))
result_attribute= domainSenderBccAddress
debuglevel = 0