summaryrefslogtreecommitdiffstats
path: root/roles/IMAP/files/etc/postfix/virtual
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-01-14 05:58:33 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:51:33 +0200
commit0853c2afdc2ddba11692ef17bb859104d47071e0 (patch)
tree38060243978193fe71090deee666a70ae9ac21db /roles/IMAP/files/etc/postfix/virtual
parent677c9e95b331290fe09aa78ddd8fd6896dfce94d (diff)
Fix catchall resolution.
It has to be performed last, to give a chance to be accepted as a regular mailbox. We introduce a new, dedicated, smtpd daemon whose only purpose is to resolve catch-alls.
Diffstat (limited to 'roles/IMAP/files/etc/postfix/virtual')
l---------roles/IMAP/files/etc/postfix/virtual/mailbox_domains.cf2
-rw-r--r--[l---------]roles/IMAP/files/etc/postfix/virtual/mailbox_maps.cf9
2 files changed, 9 insertions, 2 deletions
diff --git a/roles/IMAP/files/etc/postfix/virtual/mailbox_domains.cf b/roles/IMAP/files/etc/postfix/virtual/mailbox_domains.cf
index 54363e6..05f7ed9 120000
--- a/roles/IMAP/files/etc/postfix/virtual/mailbox_domains.cf
+++ b/roles/IMAP/files/etc/postfix/virtual/mailbox_domains.cf
@@ -1 +1 @@
-../../../../../MX/files/etc/postfix/virtual/mailbox_domains.cf \ No newline at end of file
+../../../../../MX/templates/etc/postfix/virtual/mailbox_domains.cf.j2 \ No newline at end of file
diff --git a/roles/IMAP/files/etc/postfix/virtual/mailbox_maps.cf b/roles/IMAP/files/etc/postfix/virtual/mailbox_maps.cf
index 3a4d118..da1b2cf 120000..100644
--- a/roles/IMAP/files/etc/postfix/virtual/mailbox_maps.cf
+++ b/roles/IMAP/files/etc/postfix/virtual/mailbox_maps.cf
@@ -1 +1,8 @@
-../../../../../MX/files/etc/postfix/virtual/mailbox_maps.cf \ No newline at end of file
+server_host = ldapi://%2Fprivate%2Fldapi/
+version = 3
+search_base = fvl=%u,fvd=%d,ou=virtual,o=mailHosting,dc=fripost,dc=org
+scope = base
+bind = none
+query_filter = (&(objectClass=FripostVirtualUser)(fvl=%u))
+result_attribute = fvl
+result_format = OK