> On Apr 4, 2017, at 3:35 PM, Paolo Barbato <[email protected]> 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 [email protected]
> ldap:/opt/trend/imss/postfix/etc/postfix/ldaprfx.cf
> [root@mail2 postfix]#
> [root@mail2 postfix]# postmap -q [email protected]
> ldap:/opt/trend/imss/postfix/etc/postfix/ldaprfx.cf
> OK [email protected]
>
>
> 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.