suresh p writes:

On Wed, 16 Apr 2008 Sam Varshavchik wrote :
>suresh p writes:
>
>>  On Tue, 15 Apr 2008 Sam Varshavchik wrote :
>> >suresh p writes:
>> >
>> >>On Tue, 15 Apr 2008 Sam Varshavchik wrote :
>> >> >suresh p writes:
>> >> >
>> >> >>Hello,
>> >> >>
>> >> >>I am using courier-imap and openldap. I have a field mailQuotaSize: 1000000 (1MB) stored in ldap ; and in authldaprc I set
>> >> >>LDAP_MAILDIRQUOTA  mailQuotaSize.
>> >> >>
>> >> >>But this quota is not firing and I am able to send and read mails even when I have exceeded quota. Is there any other setting to be done ?
>> >> >
>> >> >The quota should be given as: 1000000S
>> >> >
>> >> >See http://www.courier-mta.org/maildir.html
>> >> >
>> >>
>> >>Hi,
>> >>
>> >>It still isnt working. I tried diff things :
>> >>
>> >>a) maildirmake -q 100S /users/pg05/suresh/Maildir
>> >>
>> >>b) Added a new attribute to ldap entry , mailQuota and set it to 100S
>> >>  And changed quota entry in authldaprc. And my mailbox is more than   6MB in size.
>> >>
>> >>Am I missing any config thing ?
>> >
>> >You only said that you're using Courier-IMAP. Courier-IMAP has nothing to do with mail delivery, so whatever you're using to deliver mail, you need to verify that it's configured properly to read the quota setting.
>> >
>>
>>I am using qmail for mail delivery and the default delivery is set to
>>|/usr/lib/courier-imap/bin/deliverquota ./Maildir
>
>Check the contents of the maildirsize file in the maildir, to verify that the quota is properly set.

I checked this, this file is not getting created automatically. How do I configure it to create this file auto.

deliverquota does not read courier-authlib's authentication database, it doesn't even know what the recipient's address is, all you give it is the maildir's pathname. It is the responsibility of whatever software you use to manage your authentication database to also set the quota on the maildir.

Attachment: pgpZqCKRJptQ1.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to