2 messages in net.sourceforge.lists.courier-maildrop[maildropl] forcing recalculation of ...
FromSent OnAttachments
Nick BartosJul 28, 2004 11:59 pm 
Tony EarnshawJul 29, 2004 8:37 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] forcing recalculation of quota in maildir++Actions...
From:Nick Bartos (spa@2thebatcave.com)
Date:Jul 28, 2004 11:59:40 pm
List:net.sourceforge.lists.courier-maildrop

I have some folders that each user has that I want to have the option to auto-prune old messages out of. I am planning on using a cron job to do this.

The problem is that if I manually delete files then the quota file will be inaccurate, and it would need to be recalculated.

I can delete the maildirsize file and run maildirmake -q to re-set the quota, which appears to work fine.

However I am wondering if this may cause some sort of locking issue if courier-imap or maildrop are trying to access the quota file.

I had thought about just deleting the file & letting maildrop re-create it on the next delivery, but then users are unable to look at quota utilization until the next delivery, which I don't like.

Comments? Any other ideas on how to do this?