Claudio Jeker wanted us to know:

>On Mon, Nov 26, 2001 at 05:51:53PM -0300, Federico Edelman Anaya wrote:
>>     I am trying to setting up the quota limit. I�ve installed a
>> qmail-1.03 + qmail-ldap-1.03-20011001a.patch + maildrop.

Still using the 20010601 patch, but testing teh 20011101a patch to see
what will happen.

>> qldap_lookup:   succeeded, found:
>>                 mail: [EMAIL PROTECTED]
>>                 qmailUID: 111
>>                 qmailGID: 104
>>                 accountStatus: active
>>                 mailMessageStore: /var/qmail/maildirs/domain.com/user
>>                 homeDirectory: (null pointer)
>> The user�s Maildir has more 1 MB of space. Why the quota don�t work?
>I don't know but probably it is the homeDirectory: (null pointer) that has
>some side effects. Seems as if you have an empty homeDirectory attribute.

I don't think that's what is happening.  Mine looks like this and works:
ldap_lookup:    searching with (uid=todd)
ldap_lookup:    succeeded, found:
                uid: todd
                qmailUID: 407
                qmailGID: 402
                accountStatus: active
                mailMessageStore: /var/qmail/maildirs-nfs/todd/Maildir
                homeDirectory: (null pointer)

I think the problem is elsewhere.  You didn't post the first part of the
qmail ldap lookup, similar to:
init_ldap:      <snip>
                defaultQuota:    350000000S, 10000C

And also in the actual ldap lookup, what values are in:
                mailQuota: no entry in the database

In my case, no entry in the database means it inherits the default quota
defined in the control files.  Make sure the system sees it.
-- 
Blue skies...           Todd
| Get a bigger hammer!   |  Are you feeling lucky...punk?         |
| http://www.mrball.net  |  I've had better days...               |
| http://faq.mrball.net  |  It's the end of the world as we know i|

Reply via email to