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!

Mail Dir is just HUGE

Discussion in 'E-mail Discussion' started by encryption, Jul 16, 2012.

  1. encryption

    encryption Well-Known Member

    Joined:
    Jun 24, 2005
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    156
    Hello,

    I have a client who's mail dir size is enormous (53GB). This is what I get when examining the size in ssh

    du -hs /home/client/mail/
    53G /home/client/mail/

    I went into the subfolders one by one examining the size but I was unable to pinpoint which folder is so large. Any help in investigating this further will be much appreciated as I'm stumped right now.
     
  2. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    407
    Likes Received:
    3
    Trophy Points:
    143
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    Twitter:
    How did you examine the sub-folders? Sometimes people miss to check the hidden folder size while checking the size of mailboxes. Did you check that too ( like .Trash )?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello,

    Please try the following to count the sizes for hidden files as well:

    Code:
    du -sk .[!.]* *|sort -n
    Run this at /home/username/mail location. After you find out the largest folder, cd into that folder and run the command again until you pinpoint the exact folder with the largest number of files or size.

    Thanks!
     
    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