So, if ya'll recall, I'm trying to setup quotas on Courier.  The 
purpose of the quotas is not really to enforce disk usage limits, 
but to merely track the size of a user's maildir.  Anyway, I 
created maildirsize for each user as follows:

3000000000S
           0            0

If I read this right, this should give a user a 3GB quota.  Yet, 
for some reason, I keep getting errors like this now and then:

A8 NO [ALERT] You exceeded your mail quota

When I log into the account and try to do things myself, they work 
just fine.  From the amount of errors I'm seeing, it seems like 
the vast minority of transactions are generating this error.

I think that this might be some sort of race condition where a 
user is doing an IMAP transaction while this maildirsize file is 
being created (I create it upon receipt of a new email).  What I'm 
really wondering now is whether or not I'm going about this the 
wrong way.  I just want to be able to get Maildir size information 
via IMAP.  Should I write my maildirsize file differently?

Thanks, guys!


Michael

Reply via email to