Hello,
To update, it was determined the issue reported in the support ticket does in-fact relate to internal case CPANEL-19556. The case is open to address an issue where Dovecot counts the INBOX mail folder more than once. For anyone else facing the same issue, you can verify if this case is the culprit by running the following command:
Normally, the output from this command will resemble this:
Code:
INBOX
INBOX.Trash
INBOX.Sent
INBOX.Junk
INBOX.Drafts
INBOX.spam
INBOX.Archive
However, in certain scenarios where ".INBOX.$SOMETHING" directories are created in the email account's mail directory, the output may also show additional entries which lead to the incorrect disk space calculation. EX:
Code:
INBOX.INBOX
INBOX.INBOX.Drafts
INBOX.INBOX.Trash
INBOX.INBOX.Sent
I'll monitor this case and update this thread with more information as it becomes available. In the meantime, the current workaround is to rename the ".INBOX.$SOMETHING" email directories. For example, if you were to see "INBOX.INBOX.Drafts" in the output from the command above, the commands to address the issue would be:
Code:
cd /home/$username/mail/$domain/$email-account/
mv .INBOX.Drafts/ .BadDrafts
/usr/local/cpanel/scripts/generate_maildirsize $cpanelusername --confirm
Thank you.