mahdy_sharifi

Well-Known Member
Feb 26, 2012
218
1
68
cPanel Access Level
Root Administrator
Hello :

My user have any email account that disk usage showed 38Meg on Cpanel .
but when search in this email account you can see only 1 email with 443 Kb size .
what is problem ? I searched over mail directory and didn't find any related file.

Thank
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

Disk space usage is recalculated every four hours for email accounts. You can try rebuilding the "maildirsize" file for this account with a command such as:

Code:
/scripts/generate_maildirsize --verbose --confirm $username
Replace "$username" with the cPanel username of the account.

Thank you.
 

mahdy_sharifi

Well-Known Member
Feb 26, 2012
218
1
68
cPanel Access Level
Root Administrator
above command resolved our issue , but you said : "Disk space usage is recalculated every four hours for email accounts"
but this user have this problem over 1 month , why this calculating not process over last 1 months ?

Thank You
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
It's possible the maildirsize file for the email account was corrupted and thus could not update successfully.

Thank you.