multidomain + domainaliase
Magnus Wagner
magnus at heinzigartig.de
Mi Nov 5 00:55:07 CET 2014
Hallo,
ich habe hier einen kolabserver nach dem howto für multidomain am
laufen. Jede Domain hat ihren eigenen LDAP-Abschnitt.
Jetzt das Problem:
domain example.com alias beispiel.com
user: user at example.com alias user at beispiel.com
Wie bringe ich Postfix bei im richtigen LDAP-search_base zu suchen? Das
müsste man ja erst mal ermitteln.
Grüße,
Magnus
local_recipient_maps.cf
server_host = localhost
server_port = 389
version = 3
search_base = dc=%2,dc=%1
scope = sub
domain = ldap:/etc/postfix/ldap/mydestination.cf
bind_dn = uid=kolab-service,ou=Special Users,dc=heinzigartig,dc=org
bind_pw = PASSWORD
query_filter =
(&(|(mail=%s)(alias=%s))(|(objectclass=kolabinetorgperson)(|(objectclass=kolabgroupofuniquenames)(objectclass=kolabgroupofurls))(|(|(objectclass=groupofuniquenames)(objectclass=groupofurls))(objectclass=kolabsharedfolder))))
result_attribute = mail
virtual_alias_maps.cf
server_host = localhost
server_port = 389
version = 3
search_base = dc=%2,dc=%1
scope = sub
domain = ldap:/etc/postfix/ldap/mydestination.cf
bind_dn = uid=kolab-service,ou=Special Users,dc=heinzigartig,dc=org
bind_pw = PASSWORD
query_filter = (&(|(mail=%s)(alias=%s))(objectclass=kolabinetorgperson))
result_attribute = mail
mydestination.cf
server_host = localhost
server_port = 389
version = 3
search_base = cn=kolab,cn=config
scope = sub
bind_dn = uid=kolab-service,ou=Special Users,dc=heinzigartig,dc=org
bind_pw = PASSWORD
query_filter = (&(associatedDomain=%s))
result_attribute = associatedDomain
transport_maps.cf
server_host = localhost
server_port = 389
version = 3
search_base = dc=%2,dc=%1
scope = sub
domain = ldap:/etc/postfix/ldap/mydestination.cf
bind_dn = uid=kolab-service,ou=Special Users,dc=heinzigartig,dc=org
bind_pw = PASSWORD
query_filter =
(&(|(mailAlternateAddress=%s)(alias=%s)(mail=%s))(objectclass=kolabinetorgperson))
result_attribute = mail
result_format = lmtp:unix:/var/lib/imap/socket/lmtp
Mehr Informationen über die Mailingliste users-de