Hi! I created such ldap map file:
/etc/postfix/ldap-users.cf server_host = 10.100.5.1 search_base = OU=Users,DC=XXXX,dc=local version = 3 bind = yes bind_dn = CN=mailgw,OU=SYS,DC=XXXX,DC=lan bind_pw = password scope = sub result_attribute = mail result_format = %s OK query_filter = (&(objectClass=person)(mail=%s)) but on lookup getting error: postmap -q "foouser" ldap:/etc/postfix/ldap-users.cf postmap: warning: dict_ldap_lookup: Search error 10: Referral Adding chase_referrals = yes doesn't make any difference Any ideas?