Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

E-mail usage seems to show incorrectly in cPanel

Discussion in 'E-mail Discussion' started by thowa, Jan 13, 2012.

  1. thowa

    thowa Member

    Joined:
    Jan 12, 2012
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Reseller Owner
    Hi;

    I have a problem with disk space usage in cPanel.
    cPanel shows conlicting information regarding total disk space used and total E-mail folder size.
    The user has several E-mail accounts.

    In this particular case under "Stats" the Disk space usage is ~ 50MB.
    In Mail -> E-mail accounts I see two accounts, 100MB and 350MB large!

    I did a du on the server in his Mail folder and got back ~ 5MB. A du in his home folder shows about the same as what is shown under Stats.

    Any ideas what might be wrong?

    Thanks!
     
  2. cPanelJared

    cPanelJared Technical Analyst

    Joined:
    Feb 25, 2010
    Messages:
    1,835
    Likes Received:
    21
    Trophy Points:
    143
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Try running /scripts/generate_maildirsize on the affected account. The syntax would be:

    Code:
    # /scripts/generate_maildirsize --confirm --allaccounts --verbose $USER
    Replace $USER with the actual cPanel account username (the cPanel user, not the domain).

    If this does not help, log out of cPanel and delete the email_accounts.yaml and email_accounts.cache files from the cPanel account's .cpanel directory. The files will automatically be created the next time you log into cPanel.

    If neither of these actions solves the problem, please submit a ticket so that we may look at your server directly.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. thowa

    thowa Member

    Joined:
    Jan 12, 2012
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Reseller Owner
    Running the generate maildirsize script solved the problem.
    Thanks!
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice