summaryrefslogtreecommitdiffstats
path: root/roles/mx/files/etc/postfix/virtual
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2013-12-01 23:54:28 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:51:04 +0200
commit7275b307b8e26e60392e600a3de0671d0aa49043 (patch)
tree8442ab8d0a2fa78381b5ba6e6f865b75f345290a /roles/mx/files/etc/postfix/virtual
parentd363522c15b1d1ce61b2780a539dd09e2e679d34 (diff)
Postfix is compiled without SASL support.
As of 2.9.6 (2.10), at least. See bug #730848.
Diffstat (limited to 'roles/mx/files/etc/postfix/virtual')
-rw-r--r--roles/mx/files/etc/postfix/virtual/alias_catchall_maps.cf3
-rw-r--r--roles/mx/files/etc/postfix/virtual/alias_maps.cf3
-rw-r--r--roles/mx/files/etc/postfix/virtual/lists_maps.cf3
-rw-r--r--roles/mx/files/etc/postfix/virtual/mailbox_domains.cf3
-rw-r--r--roles/mx/files/etc/postfix/virtual/mailbox_maps.cf3
-rw-r--r--roles/mx/files/etc/postfix/virtual/transport_lists_maps.cf3
6 files changed, 6 insertions, 12 deletions
diff --git a/roles/mx/files/etc/postfix/virtual/alias_catchall_maps.cf b/roles/mx/files/etc/postfix/virtual/alias_catchall_maps.cf
index 2de4667..c405f47 100644
--- a/roles/mx/files/etc/postfix/virtual/alias_catchall_maps.cf
+++ b/roles/mx/files/etc/postfix/virtual/alias_catchall_maps.cf
@@ -2,7 +2,6 @@ server_host = ldapi://%2Fprivate%2Fldapi/
version = 3
search_base = fvd=%d,ou=virtual,o=mailHosting,dc=fripost,dc=org
scope = base
-bind = sasl
-sasl_mechs = EXTERNAL
+bind = none
query_filter = (&(ObjectClass=FripostVirtualDomain)(fvd=%d)(fripostOptionalMaildrop=*))
result_attribute = fripostOptionalMaildrop
diff --git a/roles/mx/files/etc/postfix/virtual/alias_maps.cf b/roles/mx/files/etc/postfix/virtual/alias_maps.cf
index aa26e18..9265d0b 100644
--- a/roles/mx/files/etc/postfix/virtual/alias_maps.cf
+++ b/roles/mx/files/etc/postfix/virtual/alias_maps.cf
@@ -1,7 +1,6 @@
server_host = ldapi://%2Fprivate%2Fldapi/
version = 3
search_base = fvl=%u,fvd=%d,ou=virtual,o=mailHosting,dc=fripost,dc=org
-bind = sasl
-sasl_mechs = EXTERNAL
+scope = base
query_filter = (&(ObjectClass=FripostVirtualAlias)(fvl=%u))
result_attribute = fripostMaildrop
diff --git a/roles/mx/files/etc/postfix/virtual/lists_maps.cf b/roles/mx/files/etc/postfix/virtual/lists_maps.cf
index a4657ec..b60dcf6 100644
--- a/roles/mx/files/etc/postfix/virtual/lists_maps.cf
+++ b/roles/mx/files/etc/postfix/virtual/lists_maps.cf
@@ -2,7 +2,6 @@ server_host = ldapi://%2Fprivate%2Fldapi/
version = 3
search_base = fvl=%u,fvd=%d,ou=virtual,o=mailHosting,dc=fripost,dc=org
scope = base
-bind = sasl
-sasl_mechs = EXTERNAL
+bind = none
query_filter = (&(|(ObjectClass=FripostVirtualList)(ObjectClass=FripostVirtualListCommand))(fvl=%u)(fripostLocalAlias=%u#%d))
result_attribute = fripostLocalAlias
diff --git a/roles/mx/files/etc/postfix/virtual/mailbox_domains.cf b/roles/mx/files/etc/postfix/virtual/mailbox_domains.cf
index d580cb9..22d6be3 100644
--- a/roles/mx/files/etc/postfix/virtual/mailbox_domains.cf
+++ b/roles/mx/files/etc/postfix/virtual/mailbox_domains.cf
@@ -2,8 +2,7 @@ server_host = ldapi://%2Fprivate%2Fldapi/
version = 3
search_base = fvd=%s,ou=virtual,o=mailHosting,dc=fripost,dc=org
scope = base
-bind = sasl
-sasl_mechs = EXTERNAL
+bind = none
query_filter = (&(ObjectClass=FripostVirtualDomain)(fvd=%s))
result_attribute = fvd
result_format = OK
diff --git a/roles/mx/files/etc/postfix/virtual/mailbox_maps.cf b/roles/mx/files/etc/postfix/virtual/mailbox_maps.cf
index 0f0e0e4..dc97177 100644
--- a/roles/mx/files/etc/postfix/virtual/mailbox_maps.cf
+++ b/roles/mx/files/etc/postfix/virtual/mailbox_maps.cf
@@ -2,8 +2,7 @@ server_host = ldapi://%2Fprivate%2Fldapi/
version = 3
search_base = fvl=%u,fvd=%d,ou=virtual,o=mailHosting,dc=fripost,dc=org
scope = base
-bind = sasl
-sasl_mechs = EXTERNAL
+bind = none
query_filter = (&(ObjectClass=FripostVirtualUser)(fvl=%u))
result_attribute = fvl
result_format = OK
diff --git a/roles/mx/files/etc/postfix/virtual/transport_lists_maps.cf b/roles/mx/files/etc/postfix/virtual/transport_lists_maps.cf
index 3cca999..9a7bca0 100644
--- a/roles/mx/files/etc/postfix/virtual/transport_lists_maps.cf
+++ b/roles/mx/files/etc/postfix/virtual/transport_lists_maps.cf
@@ -5,8 +5,7 @@ server_host = ldapi://%2Fprivate%2Fldapi/
version = 3
search_base = ou=virtual,o=mailHosting,dc=fripost,dc=org
scope = sub
-bind = sasl
-sasl_mechs = EXTERNAL
+bind = none
query_filter = (&(|(ObjectClass=FripostVirtualList)(ObjectClass=FripostVirtualListCommand))(fripostLocalAlias=%s))
result_attribute = fripostLocalAlias
result_format = smtp:[127.0.0.1]:2345