On Fri, Apr 23, 2004 at 12:20:50PM -0400, Ace Suares wrote:
> >
> > Is there any limitation on how many entries on LDAP can qmailLdap
> > process? I test my LDAP with 30 users and to worked fine. After
> > adding 10 000 users accounts it stopped dispatching mail to even
> > local users. Is there a setting one should look at?
> >
> 
> there is suc a thing as a deafult size limit for result sets in
> openldap, you know. It defaults to 500... so maybe it's that problem?
> check out slapd.conf(8) (man slapd.conf).

But that only comes into play if you do a query like 'mail=b*' and get
back a huge result set.  Qmail-ldap doesn't do wildcard queries like
that as far as I know.

I agree with the other poster: see if the 'mail' and
'mailalternateaddress' columns are indexed on the LDAP server.  But
that's an LDAP problem and you can see that by looking at the ldap
queries taking a long time.

Can you do a query on your qmail-ldap server like
  qmail-ldaplookup -m [EMAIL PROTECTED]
and see if you get back an entry?  If you don't then its an LDAP
problem.

Chris

Reply via email to