Hi all

Postfix version =  2.5.5

I apply a ldap filter to check senders and a ldap filter for the
recipients route.
I have the following warnings in the postfix logs when the filters fail
both due to a ldap size limit exceeded.

agu-fe postfix/trivial-rewrite[30723]: warning: dict_ldap_lookup: Search
error 4: Size limit exceeded
agu-fe postfix/trivial-rewrite[30723]: warning: transport_maps lookup
failure
agu-fe postfix/smtpd[29970]: NOQUEUE: reject: RCPT from
srv.sample.com[10.1.1.48]: 451 4.3.0 <t...@spam3.gm.transpac.fr>:
Temporary lookup failure; from=<t...@spam3.gm.transpac.fr>
to=<al...@spam3.gm.transpac.fr> proto=ESMTP helo=<srv.sample.com>

Question 1:
Why do I have some trivial-rewrite warnings in the logs ?
(why does Postfix run the trivial-rewrite daemon while the smtpd daemon
already returs a ldap error when checking the sender address )

Question 2:
How to do when the result_filter parameter returns a "OK COMMA SEPARATED
LIST" from a ldap request ? (for example "a...@b.c OK,OK,OK")

Thanks for your help.
Alain

Reply via email to