On May 9, 2011, at 7:32 AM, Ralf Hildebrandt wrote: > I'm trying to use > > relay_recipient_maps = > ldap:/etc/postfix/testlab01.intern.com.cf > > and /etc/postfix/testlab01.intern.com.cf is giving me: > > May 9 13:25:20 mail postfix/smtpd[3599]: warning: dict_ldap_lookup: Search > error 10: Referral > May 9 13:25:20 mail postfix/smtpd[3599]: warning: dict_ldap_lookup: Search > error 10: Referral > May 9 13:25:20 mail postfix/smtpd[3599]: warning: dict_ldap_lookup: Search > error 10: Referral > > testlab01.intern.com.cf contains: > ================================= > > server_host = 10.32.35.181 > 10.32.35.182 > > search_base = dc=labor,dc=intern > version = 3 > chase_referrals = yes > > bind_dn = > CN=svc-postfix,OU=Service-Accounts,OU=Benutzer,OU=Allgemein,OU=TestLab-Domain-Administration,DC=testlab01,DC=intern > bind_pw = secret > > query_filter = (proxyAddresses=smtp:%s) > result_attribute = mail > > # postmap -q simon.puxbaumer@testlab01.intern > ldap:/etc/postfix/testlab01.intern.com.cf > postmap: warning: dict_ldap_lookup: Search error 10: Referral > > What am I doing wrong?
greetings I think your query filter is wrong with an extra " . " here is one I used to use; server_host = 10.10.1.10 search_base = dc=ldap,dc=mydomain,dc=net query_filter = (mail=%s) result_attribute = mail -j