summaryrefslogtreecommitdiffstats
path: root/roles/MX/templates/etc/postfix/virtual/mailbox_domains.cf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/MX/templates/etc/postfix/virtual/mailbox_domains.cf.j2')
-rw-r--r--roles/MX/templates/etc/postfix/virtual/mailbox_domains.cf.j28
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/MX/templates/etc/postfix/virtual/mailbox_domains.cf.j2 b/roles/MX/templates/etc/postfix/virtual/mailbox_domains.cf.j2
new file mode 100644
index 0000000..74304a4
--- /dev/null
+++ b/roles/MX/templates/etc/postfix/virtual/mailbox_domains.cf.j2
@@ -0,0 +1,8 @@
+server_host = ldapi://%2Fprivate%2Fldapi/
+version = 3
+search_base = fvd=%s,ou=virtual,o=mailHosting,dc=fripost,dc=org
+scope = base
+bind = none
+query_filter = (&(objectClass=FripostVirtualDomain)(fvd=%s))
+result_attribute = fvd
+result_format = OK