Gianluca wrote:

> On 9/5/05, Ralf Hildebrandt <[EMAIL PROTECTED]> wrote:

>> This is documented. Postfix needs to query the LDAP servers to know if
>> the domain is local, virtual, relay or none of these. For every
>> recipient! Thus it makes sense to keep virtual_alias_domains,
>> relay_domains and mydestination in a file instead of a LDAP server.

> Sorry, I was not clear, I meant amavis, not postfix. Postfix is not
> configured for LDAP queries at the moment. Amavis was (and was
> swamping the directory) in order to get the SpamLover attribute, and
> now isn't (since we exported the spamlovers list into a flat file).

> The odd behaviour is that Amavis, even though it knew our list of 5
> local domains, kept querying the directory for every recipient, even
> those not local to our systems.

> I didn't find a policy bank based on recipient, so I'm looking for
> other options in order to change this behaviour.

> Ciao,
> Gianluca Marcari

Matt found that proper indexing helped LDAP queries:
http://marc.theaimsgroup.com/?l=amavis-user&m=112377681617056&w=2

Gary V



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to