Am 15.05.2012 15:10, schrieb Wietse Venema: > Andreas Oster: >> Am 15.05.2012 13:01, schrieb Wietse Venema: >>> Andreas Oster: >>>> How can I prevent postfix from doing lookups for domains which are not >>>> ours ? This would reduce the amount of LDAP queries quite a lot. >>> >>> See: man 5 ldap_table. Look for the "domain" parameter. >>> >>> Wietse >>> >> Hell Wietse, >> >> thank you for you fast response. I?ve added the domain statement to my >> ldap_virtual_ files but this does not make any difference. Any other idea ? > > Hell (hello?) Andreas, > > - How many LDAP lookups have you configured? > > $ postconf -n | grep ldap: > > - How did you configure the domain parameter? > > - Did you "postfix reload" after changing the file? > > Wietse > Hi Wietse,
sorry for the typo :-) postconf -n | grep ldap relay_recipient_maps = proxy:ldap:/etc/postfix/ldap_virtual_mailbox_maps.cf virtual_alias_maps = proxy:ldap:/etc/postfix/ldap_virtual_group_maps.cf, proxy:ldap:/etc/postfix/ldap_virtual_alias_maps.cf virtual_mailbox_maps = proxy:ldap:/etc/postfix/ldap_virtual_mailbox_maps.cf I have added "domain = novanetwork.de" to the files. I did not reload postfix, did not think it would make a difference. After reload it works like a charm :-) Thank you very much !!! best regards Andreas