Email accounts quota in cpanel
November 28th, 2008
Some times cpanel may show that you exceeded quota of your email accounts, but inobox has no emails in it and you may get invalid maildir size error in exim_mainlog. In this case run the following commands tofix it.
find /home/*/mail/ -name maildirsize | xargs rm -vf /scripts/generate_maildirsize --force --allaccounts