bernhard: server/kolabd/kolabd/templates main.cf.template,1.7,1.8
cvs at intevation.de
cvs at intevation.de
Tue Apr 5 16:27:58 CEST 2005
Author: bernhard
Update of /kolabrepository/server/kolabd/kolabd/templates
In directory doto:/tmp/cvs-serv22047
Modified Files:
main.cf.template
Log Message:
A better fix for
Issue609 (distribution lists swallow outgoing mail not intended for the list)
which also allows to make mailsplits in virtual.
Details:
It is better to expand distributions lists in virtual and not in alias
because some of the resulting addresses might be external and can
then choose their best transport.
For the mailsplit this is crucial as the transport for $mydestination
then needs to depend on another ldap request.
The new domain parameter to the ldapdistlist prevents that outgoing email
is affected and only distribution lists are matched.
Index: main.cf.template
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/templates/main.cf.template,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- main.cf.template 3 Apr 2005 23:22:12 -0000 1.7
+++ main.cf.template 5 Apr 2005 14:27:56 -0000 1.8
@@ -48,11 +48,10 @@
# 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 @@
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
More information about the commits
mailing list