Incorrect mailbox size reported in cPanel

nagyosha

Member
Mar 9, 2014
19
0
1
cPanel Access Level
Root Administrator
Hi.
a users default email account i've been asked to look at on my server is showing a mailbox size of 775.17 MB on cpanel.
i've looked at his webmail .. and also checked his home and he has no mail i can see anywhere..
all his usage stats indicate there is no mail in there.
could anyone advise where i should try and find whats gone wrong here ?
 

cPanelPeter

Senior Technical Analyst
Staff member
Sep 23, 2013
585
25
153
cPanel Access Level
Root Administrator
Hello,

Check trash folder, sent folder as well. If messages are purged (but not deleted) then you may not see them in Webmail but they are still there.

Second, since you are listed as Root Administrator, go to /home/cPanelUser/mail and type:

Code:
du -shc mail/*
Have you also tried running:

Code:
# /scripts/generate_maildirsize -confirm cPanelusername
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
 

louisjbotes

Registered
May 14, 2019
1
0
1
Stellenbosch
cPanel Access Level
Root Administrator
After a recent breach on my server it was quite alarming to see the default address with a 1 gig value while no emails exist in the mailbox.

The script to recalculate the mailbox sizes did the trick for me.

Thanks to this forum thread.

Louis