- Plesk 12.5 for Linux
Mail usage statistics for a mailbox in Home > Subscriptions > example.com > Email Addresses > [email protected] > " Usage " column shows different size then the actual disk usage of that mailbox on the server:
# du -sh /var/qmail/mailnames/example.com/john.doe
mailmng-coreutility shows the same value as displayed in Home > Subscriptions > example.com > Email Addresses > [email protected] > " Usage ":
# /usr/local/psa/admin/sbin/mailmng-core --get-mailbox-size --domain-name=example.com --mailname=john.doe --in-blocks
The same value is shown in the following file:
# cat /var/qmail/mailnames/example.com/john.doe/Maildir/maildirsize:
/var/qmail/mailnames/example.com/john.doe/Maildir/maildirsize is corrupted, that is why Plesk interface displays incorrect value. File corruption could happen if some files were removed manually from the mailbox directory on a server: in this case maildirsize size could not be automatically recalculated. But there could be other reasons too.