summaryrefslogtreecommitdiffstats
path: root/roles/MX/templates/etc/postfix/virtual/list.cf.j2
blob: 3b364c0005916f6ab0b90b1221152c9ca3df8a08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
server_host      = ldapi://%2Fvar%2Fspool%2Fpostfix-mx%2Fprivate%2Fldapi/
version          = 3
search_base      = fvd=%d,ou=virtual,dc=fripost,dc=org
domain           = static:all
scope            = one
bind             = yes
bind_dn          = cn=postfix,ou=services,dc=fripost,dc=org
bind_pw          = FIXME
query_filter     = (&(objectClass=FripostVirtualList)(!(objectClass=FripostPendingEntry))(fvl=%u)(fripostIsStatusActive=TRUE))
result_attribute = fripostListManager
# Use a dedicated "virtual" domain to decongestion potential bottlenecks
# on trivial_rewrite(8) due to slow LDAP lookups in tranport_maps.
result_format    = %D/%U@%s.fripost.org