Ok, thank you.

Can you point me in the right direction for indexing?
All I can find is adding this line to the config:
result_attribute = memberaddr  (this was in an expanding groups thread)





-----Original Message-----
From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] 
On Behalf Of Viktor Dukhovni
Sent: Friday, February 10, 2017 12:09 PM
To: Postfix users <postfix-users@postfix.org>
Subject: Re: dict_ldap_lookup questions


> On Feb 10, 2017, at 12:01 PM, Gomes, Rich <gomes-r...@aramark.com> wrote:
> 
> warning: dict_ldap_lookup: Search error -5: Timed out

You've probably neglected to index the appropriate attributes.
Fix the indexing, and the timeouts will likely go away.

> Is this simply a matter of increasing the timeout?

No your LDAP queries should be fast.  Fix the underlying issue.

> Also, where is the cache settings on the LDAP query?

There is no cache.

-- 
        Viktor.

Reply via email to