summaryrefslogtreecommitdiffstats
path: root/roles/MX/files/etc/postfix/virtual/list.cf
diff options
context:
space:
mode:
Diffstat (limited to 'roles/MX/files/etc/postfix/virtual/list.cf')
-rw-r--r--roles/MX/files/etc/postfix/virtual/list.cf13
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/MX/files/etc/postfix/virtual/list.cf b/roles/MX/files/etc/postfix/virtual/list.cf
new file mode 100644
index 0000000..3b364c0
--- /dev/null
+++ b/roles/MX/files/etc/postfix/virtual/list.cf
@@ -0,0 +1,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