Thanks, Jeroen, see my comment below. > > postmap -qv test.medplus.com ldap:acceptdomains > > postmap: fatal: open database test.medplus.com.db: No such file or > > directory > > >
This is the output of postmap -vq test.medplus.com ldap:acceptdomains It does query into LDAP but returns nothing when the same LDAP query returns value in another LDAP browser. postmap: dict_open: ldap:acceptdomains postmap: dict_ldap_lookup: In dict_ldap_lookup postmap: dict_ldap_lookup: No existing connection for LDAP source acceptdomains, reopening postmap: dict_ldap_connect: Connecting to server ldap://hub-dev-app01.dev.medplus.com:389/ postmap: dict_ldap_connect: Actual Protocol version used is 2. postmap: dict_ldap_connect: Binding to server ldap://hub-dev-app01.dev.medplus.com:389/ as dn postmap: dict_ldap_connect: Successful bind to server ldap://hub-dev-app01.dev.medplus.com:389/ as postmap: dict_ldap_connect: Cached connection handle for LDAP source acceptdomains postmap: dict_ldap_lookup: acceptdomains: Searching with filter (domainname=test.medplus.com) postmap: dict_ldap_get_values[1]: Search found 0 match(es) postmap: dict_ldap_get_values[1]: Leaving dict_ldap_get_values postmap: dict_ldap_lookup: Search returned nothing postmap: dict_ldap_close: Closed connection handle for LDAP source acceptdomains > > postmap -q test.medplus.com ldap:acceptdomains > > <---return nothing in command line---> > > > > When I looked in LDAP log, I see the query issued correctly but > nothing > > is retrieved. > > > > Where is that log ? What does the LDAP *server* log ? > I am referring to Open LDAP Server access log, I see the query being issued, the same query from LDAP browser does return value, but the one from Postfix returns nothing. > Map files must be fully named; "acceptdomains" is not a full pathname. > > > -- > J. I think what I have is an alternative option, unless it is no longer supported by Postfix 2.3.3? That works with same version of Postfix in another environment. I also see output from postmap -vq. Yan Confidentiality Notice: The information contained in this electronic transmission is confidential and may be legally privileged. It is intended only for the addressee(s) named above. If you are not an intended recipient, be aware that any disclosure, copying, distribution or use of the information contained in this transmission is prohibited and may be unlawful. If you have received this transmission in error, please notify us by telephone (513) 229-5500 or by email (postmas...@medplus.com). After replying, please erase it from your computer system.