summaryrefslogtreecommitdiffstats
path: root/roles/MX/files/etc/postfix/virtual/transport_lists_maps.cf
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2013-12-02 23:46:01 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:51:11 +0200
commitc79f18ff9a04a7534dba3c288bc9606f17786b16 (patch)
tree2e0f1d72ad481804dd5f9dff680737fe5df12f21 /roles/MX/files/etc/postfix/virtual/transport_lists_maps.cf
parent1a50ad8f85ae7b42d7749b43d8f01adb663114ff (diff)
Rename the role 'mx' into 'MX'.
Other abreviations are upper case.
Diffstat (limited to 'roles/MX/files/etc/postfix/virtual/transport_lists_maps.cf')
-rw-r--r--roles/MX/files/etc/postfix/virtual/transport_lists_maps.cf11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/MX/files/etc/postfix/virtual/transport_lists_maps.cf b/roles/MX/files/etc/postfix/virtual/transport_lists_maps.cf
new file mode 100644
index 0000000..9a7bca0
--- /dev/null
+++ b/roles/MX/files/etc/postfix/virtual/transport_lists_maps.cf
@@ -0,0 +1,11 @@
+# Despite the index on 'fripostLocalAlias' it's a bit more inefficient,
+# but more precise, than the alternative of using regexes here, and a
+# plain hash on the list managers' side.
+server_host = ldapi://%2Fprivate%2Fldapi/
+version = 3
+search_base = ou=virtual,o=mailHosting,dc=fripost,dc=org
+scope = sub
+bind = none
+query_filter = (&(|(ObjectClass=FripostVirtualList)(ObjectClass=FripostVirtualListCommand))(fripostLocalAlias=%s))
+result_attribute = fripostLocalAlias
+result_format = smtp:[127.0.0.1]:2345