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!

Query on cPanel Email Disk Usage Calculation

Discussion in 'E-mail Discussion' started by Vipin Haridas, May 24, 2018.

  1. Vipin Haridas

    Vipin Haridas Member

    Joined:
    Aug 3, 2016
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    The cpanel is showing incorrect disk usage for emails(Probably the extra usage refers to something else but I couldn't figure out what it is).

    Please take a look at the attached image. It shows two disk usages for emails for an account:

    81GB is the actual usage. However, it is showing the total usage as 139GB.

    However, the backend calculation is just 81:

    [~]# du -sch /home/username/
    81G /home/username/

    Can someone please help me understand this?
     

    Attached Files:

  2. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,838
    Likes Received:
    276
    Trophy Points:
    193
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello @Vipin Haridas

    Did you at some point or do you currently have mail being compressed? We can see if this is currently enabled by going to WHM>>Service Configuration>>Mailserver Configuration ->Compress Messages

    and we can see if there are compressed mails by running the following on the CLI :

    Code:
    cd /home/$USER/mail/domain.tld/accountname/
    Code:
    find . -type f -exec file {} \+ | awk -F ':[ ]+' '{ print $2; }' | sort | uniq -c | sort -n
    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