Mail directory size is not updated in cPanel

Issue: Sometimes, when you delete a huge number of emails from your email account, the mail directory size is not getting updated in cPanel and showing the old space usage.

Fix: There is a cPanel script to forcibly update the mail directory size in the server. You need to logged into the server through root and run the following command:

root@server []# /scripts/generate_maildirsize --verbose --allaccounts --force --confirm

Once the script is successfully executed, check the email account size in your cPanel. It should shows the correct disk usage.


Comments

Popular posts from this blog

SVN: File remains in conflict

HowTo: Enable extended logging for exim

12 tweakings for WHM/cPanel to speed up WordPress