aboutsummaryrefslogblamecommitdiff
path: root/cluster/prod/app/email/config/postfix/ldap-virtual-domains.cf.tpl
blob: 3cb48f9b5b0eb1bee27306471d52d51d7268afa2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                     
bind = yes
bind_dn = {{ key "secrets/email/postfix/ldap_binddn" | trimSpace }}
bind_pw = {{ key "secrets/email/postfix/ldap_bindpwd" | trimSpace }}
version = 3
timeout = 20
start_tls = no
tls_require_cert = no
server_host = ldap://{{ env "meta.site" }}.bottin.service.prod.consul
scope = sub
search_base = ou=domains,ou=groups,dc=deuxfleurs,dc=fr
query_filter = (&(objectclass=dNSDomain)(domain=%s))
result_attribute = domain