summaryrefslogtreecommitdiffstats
path: root/roles/MX/templates/etc/postfix/virtual/domains.cf.j2
blob: 4ec247d8b73bec8444567aac943d70d798dfe520 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# XXX: How come we use a socked relative to the chroot here? smtpd(8) is
# not (can't be) chrooted...
server_host      = ldapi://%2Fprivate%2Fldapi/
version          = 3
search_base      = ou=virtual,dc=fripost,dc=org
scope            = one
bind             = yes
bind_dn          = cn=postfix,ou=services,dc=fripost,dc=org
bind_pw          = FIXME
query_filter     = (&(objectClass=FripostVirtualDomain)(!(objectClass=FripostPendingEntry))(fvd=%s)(fripostIsStatusActive=TRUE))
result_attribute = fvd
result_format    = OK