This is a discussion on Re: [AMaViS-user] size limit for ldap queries problematic? within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; On Thu, Mar 03, 2005 at 11:36:12AM +0100, Timo Veith wrote: > Am Donnerstag 03 M=E4rz 2005 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Thu, Mar 03, 2005 at 11:36:12AM +0100, Timo Veith wrote:
> Am Donnerstag 03 M=E4rz 2005 05:41 schrieb Michael Hall: > > On Thu, Mar 03, 2005 at 01:39:41AM +0100, Mark Martinec wrote: > > > Timo, > > > > > > > > I am trying to setup amavisd-new to query individual spam > > > > > settings from an Active Directory via LDAP. AD limits search > > > > > results to 1000 entries. (slapd defaults to a limit of 500) > > > > > > I don't think it could be a problem, amavisd-new does short > > > per-recipient queries and obtains short answers. >=20 > > A query should only match one directory entry. An email address > > (recipient) should be unique, a query by email address therefore shou= ld > > only return one result. >=20 > Of couse the email addresses are unique in the directory. But one messa= ge=20 > can have multiple recipients, right? Sure, so it does one query per recipient. > > > > The question is how does amavisd-new recognices multiple recipien= ts > > > > for one message? If every recipient has his individual spam > > > > settings, those have to be followed. How will the ldap code handl= e > > > > this? > > > > > > One query per attribute per recipient. > > > (with SQL: one query per recipient obtains all required fields) > > > > The new LDAP does one query per recipient to obtain (and cache) all t= he > > attributes similar to SQL. >=20 > This seems a little contradictionary to me. If I stay with the last=20 > statement, my question is still open. If there is one query per recipie= nt=20 > AND one message can have multiple recipients, then it still could be th= e=20 > case that the size limit of the ldap server is reached. Please correct = me=20 > if this is wrong. I am not sure about it, that's why I am asking. It does one query per recipient, if there are multiple recipients it does multiple queries, with each query returning one result. -- Polynesia - memory loss in parrots. Mike Hall, System Admin - Rock Island Communications <mikeh@rockisland.com= > System Admin - riverside.org, ssdd.org <mhall@riverside.org> ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |