summaryrefslogtreecommitdiff
path: root/conf/templates/main.cf.template
diff options
context:
space:
mode:
Diffstat (limited to 'conf/templates/main.cf.template')
-rw-r--r--conf/templates/main.cf.template6
1 files changed, 3 insertions, 3 deletions
diff --git a/conf/templates/main.cf.template b/conf/templates/main.cf.template
index 5aa8857..8451e24 100644
--- a/conf/templates/main.cf.template
+++ b/conf/templates/main.cf.template
@@ -48,11 +48,10 @@ relay_domains =
# maps
canonical_maps = hash:@l_prefix@/etc/postfix/canonical
-virtual_maps = ldap:ldapvirtual
-# virtual_maps = hash:@l_prefix@/etc/postfix/virtual
+virtual_maps = hash:@l_prefix@/etc/postfix/virtual, ldap:ldapdistlist, ldap:ldapvirtual
relocated_maps = hash:@l_prefix@/etc/postfix/relocated
transport_maps = ldap:ldaptransport, hash:@l_prefix@/etc/postfix/transport
-alias_maps = ldap:ldapdistlist, hash:@l_prefix@/etc/postfix/aliases
+alias_maps = hash:@l_prefix@/etc/postfix/aliases
alias_database = hash:@l_prefix@/etc/postfix/aliases
local_recipient_maps =
@@ -152,6 +151,7 @@ ldapvirtual_version = 3
ldapdistlist_server_host = @@@ldap_uri@@@
ldapdistlist_search_base = @@@user_dn_list@@@
+ldapdistlist_domain = $mydestination
ldapdistlist_query_filter = (cn=%u)
ldapdistlist_special_result_attribute = member
ldapdistlist_result_attribute = mail