Fix incorrect mailbox quota in cPanel
From time to time, there may be a case where cPanel is showing an incorrect quota used.
This is usually due to the maildirsize file for the email accounts not being updated.
To resolve this, access the server/account via SSH and type the following command:
/usr/local/cpanel/scripts/generate_maildirsize --confirm CPUSER
Please note that "CPUSER" in the following examples must be replaced with the cPanel account username of the account in question.