From 9ff98e18e5dd6967bce1457cff1884ec632cf2b5 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Mon, 2 Dec 2013 22:43:44 +0100 Subject: Configure the Mail Delivery Agent. --- roles/IMAP/files/etc/postfix/virtual/mailbox_domains.cf | 1 + roles/IMAP/files/etc/postfix/virtual/mailbox_maps.cf | 1 + .../files/etc/postfix/virtual/transport_content_filter_maps.cf | 8 ++++++++ 3 files changed, 10 insertions(+) create mode 120000 roles/IMAP/files/etc/postfix/virtual/mailbox_domains.cf create mode 120000 roles/IMAP/files/etc/postfix/virtual/mailbox_maps.cf create mode 100644 roles/IMAP/files/etc/postfix/virtual/transport_content_filter_maps.cf (limited to 'roles/IMAP/files/etc/postfix/virtual') 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 -- cgit v1.2.3