2008/3/4, Sam Varshavchik <mrs...@courier-mta.com>:
Luis Hernán Otegui writes:
Sometimes, when a user logs in, the webmail displays a space usage of,
say, 90%, which is the real disk usage of the user. If the user
deletes any mail (no matter the size), his quota usage drops violently
to, say, 22%. This leads the user to the false security of having
enough space on disc as to keep receiving mail, when he's really close
to fill up his disc quota. I'm currently giving 500 MB to each user,
so it's clearly not a problem of the quota being too little.
The quota reported by Courier-IMAP is not disk quota, but rather the
calculated "soft" quota that's manually tracked by Courier-IMAP, which may
not be anywhere the actual disk usage quota, for a variety of reasons, such
as the contents of the Trash folder.
If you want to use Courier-IMAP's "soft" quotas, you cannot also use a hard,
kernel-based disk quota. For that matter, you should not be using filesystem
quotas with Courier-IMAP at all, for various reasons, and use Courier-IMAP's
soft quotas exclusively.
I think I've mis-explained the issue. I'm actually using soft quotas,
enforced by Postfix with its VDA patch, not filesystem quotas. What I
ment when I mentioned the percentages are merely cyphers which I've
calculated by hand, to check against the web-supplied quota values.
Sorry for the confusion. I'll check the trash folder usage for those
users. However, I can't understand the sudden drop and posterior rise
of the soft-quota usage. If you could clarify this issue, I'll be very