summaryrefslogtreecommitdiffstats
path: root/roles/IMAP/files/etc/postfix
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2013-12-02 22:43:44 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:51:09 +0200
commit9ff98e18e5dd6967bce1457cff1884ec632cf2b5 (patch)
tree99adb4054b83f975dec12753d8d76a80d3c1d64a /roles/IMAP/files/etc/postfix
parentc7080c68fb4594f01a2edc98a2014c109a5afe16 (diff)
Configure the Mail Delivery Agent.
Diffstat (limited to 'roles/IMAP/files/etc/postfix')
l---------roles/IMAP/files/etc/postfix/virtual/mailbox_domains.cf1
l---------roles/IMAP/files/etc/postfix/virtual/mailbox_maps.cf1
-rw-r--r--roles/IMAP/files/etc/postfix/virtual/transport_content_filter_maps.cf8
3 files changed, 10 insertions, 0 deletions
diff --git a/roles/IMAP/files/etc/postfix/virtual/mailbox_domains.cf b/roles/IMAP/files/etc/postfix/virtual/mailbox_domains.cf
new file mode 120000
index 0000000..7e8c163
--- /dev/null
+++ b/roles/IMAP/files/etc/postfix/virtual/mailbox_domains.cf
@@ -0,0 +1 @@
+../../../../../mx/files/etc/postfix/virtual/mailbox_domains.cf \ 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
new file mode 120000
index 0000000..763b30e
--- /dev/null
+++ b/roles/IMAP/files/etc/postfix/virtual/mailbox_maps.cf
@@ -0,0 +1 @@
+../../../../../mx/files/etc/postfix/virtual/mailbox_maps.cf \ No newline at end of file
diff --git a/roles/IMAP/files/etc/postfix/virtual/transport_content_filter_maps.cf b/roles/IMAP/files/etc/postfix/virtual/transport_content_filter_maps.cf
new file mode 100644
index 0000000..6ea944f
--- /dev/null
+++ b/roles/IMAP/files/etc/postfix/virtual/transport_content_filter_maps.cf
@@ -0,0 +1,8 @@
+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=AmavisAccount)(fvl=%u))
+result_attribute = fvl
+result_format = amavisfeed:unix:public/amavisfeed-contentfilter