Cpanel email quotas are incorrect

From CPanelDirect

Jump to: navigation, search

Cpanel's mail quota can sometimes get out of sync. A user's of yours may get an email similar to this:

The mailbox kaye.lenox@XXX is full or very close to full.

You should remove some emails from the box as soon as possible to prevent
losing any future mail.

This mailbox is currently 83.75% (8575.76/10240.00 Megs) full.

However when you check the email account it is not using close to this. Not to worry, a simple script can resolve this problem. As root in SSH run:

/scripts/generate_maildirsize --force --allaccount

This will update the maildir quota size. This does not work with cppop/mbox accounts only maildir. All new cpanel installs come with maildir.

Personal tools