Symptoms
Accessing webmail for the default cPanel user account adds the quota for all other email accounts.
Description
The disk usage shown for the “default” email account is due to the account using the maildir mailbox format.
When the maildir mailbox format is in use, the default email account shows all other inboxes on the account as a part of its calculation.
This is noted in the documentation regarding "Mailbox Conversion":
If you convert your mailboxes to the maildir format, you may notice a discrepancy between reported and actual disk usage for the default email account. This occurs because a maildir mailbox adds the total default email account usage to the
INBOX
directory usage of every other email address on the cPanel account. It does not add the subfolders for any other mailbox.
cPanel Documentation: Mailbox Conversion
While the behavior is noted as being by design according to our documentation, this does cause confusion upon seeing the added usage within the default user account.
We've opened an internal case for our development team to investigate this further. For reference, the case number is HB-7048. Follow this article to receive an email notification when a solution is published in the product.
Workaround
The currently listed workaround is to use the following command to reset the reported usage:
/scripts/generate_maildirsize --confirm cpanelusername
Now when visiting the "Email Account" module the actual used disk space is displayed.
Please note, this is only temporary until the default email account is accessed again, which would revert this fix. An alternate option would be to use "mdbox" instead of the "maildir" format.
Comments
1 comment
Update: We would like to thank you for your interest in this article/case and encourage your submissions as they are valuable to the ever-expanding development of cPanel & WHM. At this time, this particular issue has not been selected for action from our Development Team, as it may require more development resources than we can allot, or alters the direction cPanel envisions for the product. Submissions persist in our Issue Tracking System in the event the impact of the related issue grows or product direction changes. If you feel that this defect requires direct action, we strongly encourage you to submit a Feature Request to allow the cPanel Community to vote and support your cause.
Thank you again for helping us make cPanel & WHM the hosting platform of choice.
Article is closed for comments.