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!

Email Usage Problem

Discussion in 'E-mail Discussion' started by mahdy_sharifi, Feb 17, 2014.

  1. mahdy_sharifi

    mahdy_sharifi Well-Known Member

    Joined:
    Feb 26, 2012
    Messages:
    209
    Likes Received:
    0
    Trophy Points:
    66
    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
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    834
    Likes Received:
    29
    Trophy Points:
    178
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    The email might be hiding out in another folder. Try this:

    Code:
    cd /home/YOURCPANELUSER/mail/YOURDOMAIN/EMAILUSER/
    du -sh

    And see what comes up.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #2 vanessa, Feb 17, 2014
    Last edited: Feb 17, 2014
  3. mahdy_sharifi

    mahdy_sharifi Well-Known Member

    Joined:
    Feb 26, 2012
    Messages:
    209
    Likes Received:
    0
    Trophy Points:
    66
    cPanel Access Level:
    Root Administrator
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,435
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. mahdy_sharifi

    mahdy_sharifi Well-Known Member

    Joined:
    Feb 26, 2012
    Messages:
    209
    Likes Received:
    0
    Trophy Points:
    66
    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
     
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,435
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    It's possible the maildirsize file for the email account was corrupted and thus could not update successfully.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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