> On Apr 4, 2017, at 3:35 PM, Paolo Barbato <paolo.barb...@igi.cnr.it> wrote: > > here new ldaprfx.cf > > server_host = 150.178.3.89:389 > bind=no > search_base = mail=%s,dc=cgprouter > scope = base > query_filter = mail=%s > result_attribute = mail > result_format = OK %s > version = 3 > > here postmap check > [root@mail2 postfix]# postmap -q bar...@igi.cnr.it > ldap:/opt/trend/imss/postfix/etc/postfix/ldaprfx.cf > [root@mail2 postfix]# > [root@mail2 postfix]# postmap -q barb...@igi.cnr.it > ldap:/opt/trend/imss/postfix/etc/postfix/ldaprfx.cf > OK barb...@igi.cnr.it > > > thats really fine. > > ....but after inserted ldap:/opt/trend/imss/postfix/etc/postfix/ldaprfx.cf in > main.cf an new error come up "warning: dict_ldap_lookup: Search error 1: > Operations error " and Server configuration error is there again.
And the reason you're not posting the "postconf -n" output showing the new settings and the full error message (and any related log entries) is ...? Do test making the query as a non-root user. Do check whether your SMTP server processes are chrooted and perhaps can't connect to LDAP servers as a result. -- Viktor.