diff options
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.cf | 12 |
1 files changed, 12 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..3cca999 --- /dev/null +++ b/roles/mx/files/etc/postfix/virtual/transport_lists_maps.cf @@ -0,0 +1,12 @@ +# 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 = sasl +sasl_mechs = EXTERNAL +query_filter = (&(|(ObjectClass=FripostVirtualList)(ObjectClass=FripostVirtualListCommand))(fripostLocalAlias=%s)) +result_attribute = fripostLocalAlias +result_format = smtp:[127.0.0.1]:2345 |