-----Ursprüngliche Nachricht----- Von: Victor Duchovni [mailto:victor.ducho...@morganstanley.com] Gesendet: Montag, 30. August 2010 21:18 An: Marco Rebsamen Cc: postfix-users@postfix.org Betreff: Re: local_recipient_maps with LDAP
On Mon, Aug 30, 2010 at 08:50:33PM +0200, Marco Rebsamen wrote: > > Ok, I'm really confused about that LDAP lookup stuff :-/ > What I want to do is to check if an address to which a message is addressed > really exists. > > I'm currently using this script for local receipient checks: > > bind_dn = j...@hive.loc > bind_pw = **** > server_host = 192.168.8.254 > > #Global Catalog port > server_port = 3268 > > search_base = DC=hive, DC=loc > query_filter = proxyAddresses=smtp:*...@unimatrix0.ch > result_attribute = proxyAddresses What is that pesky "*" doing in your query filter!!! It's a damn wildcard! I thought I would need it because when I tried to find the right parameters for this LDAP request I could not find find anything until I used this star! Why is "proxyAddresses" the right result attribute. I would use "mail". I don't know ?! Is it not ?! from where should I know that ?! Why do I need an email address as return anyway ?! I would say the address is already written in the message ? It makes no sense to me to return an email address.... maybe I just don't understand the whole thing and someone should tell me what I should do?! Report problems accurately with supporting "postconf -n" output, table definitions AND logs! ...same as above -- Viktor.