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!

Default email account disk usage

Discussion in 'E-mail Discussion' started by kenneth-vkd, Jan 11, 2019.

  1. kenneth-vkd

    kenneth-vkd Active Member

    Joined:
    Apr 1, 2017
    Messages:
    31
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Denmark
    cPanel Access Level:
    DataCenter Provider
    Hi
    One of the accounts on our cPanel server had the default address enabled as a catchall and therefore it had 4GB of mail in it.
    The customer has cleaned the account so that it is now completely empty and when we click "Manage disk space" it shows that there is nothing in the account. Accessing webmail also confirms this.
    However, cPanel still reports 4GB of used space and this is also counted against the customers quota.
    Cleaning was done yesterday, so there should have been plenty of time for any caching to update.

    We have also tried to run WebHost Manager »Email »Repair Mailbox Permissions, and nothing changed

    Why is it that we still see high disk usage for the default account when it is in fact empty?
     
  2. webhostuk

    webhostuk Well-Known Member

    Joined:
    Sep 11, 2013
    Messages:
    148
    Likes Received:
    15
    Trophy Points:
    18
    Location:
    UK
    cPanel Access Level:
    Website Owner
    Twitter:
    I guess in that case you need try and run /scripts/fixquotas to fix this problem. This will require root access.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. kenneth-vkd

    kenneth-vkd Active Member

    Joined:
    Apr 1, 2017
    Messages:
    31
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Denmark
    cPanel Access Level:
    DataCenter Provider
    @webhostuk I just tried running /scripts/fixquotas as root. No errors showed when it was running and also still no change.

    Maybe I should try contacing the WHM/cPanel support team to figure out why this is not changing?
     
  4. GOT

    GOT Get Proactive! PartnerNOC

    Joined:
    Apr 8, 2003
    Messages:
    1,453
    Likes Received:
    178
    Trophy Points:
    193
    Location:
    Chesapeake, VA
    cPanel Access Level:
    DataCenter Provider
    Did you check the trash for that folder? You don't say how he cleared out the box, but if he used IMAP or Webmail, they may have simply been moved to the trash folder.

    In shell, go to /home/user/mail and run

    du -h --max=1

    That will show you the exact folders and how much space they are taking up.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelLauren likes this.
  5. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,124
    Likes Received:
    474
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    I'd do exactly as suggested by @GOT

    1. Check the trash - depending on how he removed the mail it could be sitting in the trash folder still.

    2. To ensure the mail is actually removed something like the command he ran or the one I use frequently (which is essentially the same thing) might be helpful:

    Code:
    du -h --max-depth=1
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. kenneth-vkd

    kenneth-vkd Active Member

    Joined:
    Apr 1, 2017
    Messages:
    31
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Denmark
    cPanel Access Level:
    DataCenter Provider
    Hi
    We have now checked with the suggested command and all folders for the default account are empty. We then checked /home/user/mail/user.tld with the same command to verify that the quota system did calculate the usage correctly.

    So the customer did actually empty the trash and it was done from webmail, as we do not allow sign-in to the default account from email clients.

    I have also manually checked the trash and it was empty as well.

    So from how it currently looks, it must be either a bug in the UI or something else that keeps showing the 4GB usage although it should be 0.
     
  7. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,124
    Likes Received:
    474
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved.


    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Bonsai Coder

    Bonsai Coder Registered

    Joined:
    Jan 31, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Curious to hear the resolution of this, because I am experiencing the same problem:

    Screenshot-2019-6-10 cPanel - Email Accounts.png
     
  9. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,124
    Likes Received:
    474
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    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