Bowie Bailey writes:

I have read as much documentation on the quota enforcement as I can
find, but I haven't been able to figure this out.

I usually set quotas for the accounts in the userdb.  This setting
then gets migrated to the maildirsize file in the maildir itself.  How
should I go about changing this quota?

I have a user who is over quota.  There are a few messages in the
mailq waiting on delivery.  I have updated userdb and run makeuserdb.
Courier still says he is over quota.  I have run "courier stop" and
"courier start".  No effect.  I have used maildirmake to specify the
new quota.  The maildirsize file is set back to the old quota on the
next delivery attempt (which fails).

What is the proper way to increase a user's quota so that it takes
effect immediately?

You should only need to change quotas in userdb. I don't think you need to fix up the maildir, though.

It's possible that when you did this someone was already logged in, so the running IMAP process's cached quota ended up overwriting your manual adjustment.


Attachment: pgpv04Dj54YQc.pgp
Description: PGP signature

Reply via email to