I've recently noticed strange behavior with user quotas after an upgrade
to vpopmail 5.4.25 from 5.4.18. The upgrade also moved from the cdb
backend to the MySQL backend (due to locking issues I was experiencing).
When delivering a message, the size of the message is placed twice in
maildirsize. When deleting the message, it is removed only once. This
causes quota usage to grow over time, disconnected from the actual size
of the mailbox.
For example, this is the maildirsize for a 100 megabyte mailbox at the
initial creation of the quota:
After that account got a 1.6 megabyte e-mail, this was the same file:
You will see that there are two entries in the file with slightly
After deleting the e-mail from the box (POP3 and IMAP both exhibit the
same issue), the file read:
Is this a known bug or configuration issue, and if so, is there a fix
for it, or a clue someone can smack me with?
For reference purposes:
OS: Slackware Linux 11.0 with kernel 220.127.116.11
Mailboxes are stored on an NFS volume mounted with options noatime,soft,tcp