(717) 288-7191
  • Facebook
  • Facebook
  • Contact
  • Account
    • Register
K9 WEBOPS
  • Cybersecurity
  • Web Hosting
  • Domain Names
  • Support
  • About Us
  • Blog
Select Page

cPanel issue – Wrong disk space for an email account !

– When you check the disk space used for an email account from cPanel, do you see a value very much different from the actual value ?

Verify the actual disk-space as :

# du -sch ~home/x.com/mail/x.com/user/

This issue happens when cPanel disk usage variable is not functioning
correctly.

– Usually a upcp ( /scripts/upcp --force ) would fix it.

If it doesnt or if you are not in a state to update cPanel, you can fix this issue by running the below command :

# /scripts/generate_maildirsize --confirm --allaccounts --verbose $user

$user = cPanel account name which is having this issue.

If the above too does not help, then log out from cPanel and
delete the email_accounts.yaml and email_accounts.cache files from the account’s “.cpanel” folder.

These files will automatically be created the next time you log into cPanel.

cd ~username/.cpanel

# rm email_accounts.yaml 

# rm email_accounts.cache 

This should clear the issue.

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)

Subscribe

/ ( mm / dd )

Recent Posts

  • Don’t Let A Cyber Threat Sneak Past You.
  • AWS EC2 Instance – CentOS or Ubuntu for My Application?
  • Website not loading across some networks – Quick Fix
  • WHM / cPanel kicks me out !
  • Emails from whmcs fails – How to resolve them ?

Categories

  • Android
  • Apache
  • aws
  • cPanel/WHM
  • DNS
  • Featured
  • General
  • IIS
  • Mail service
  • Microsoft Windows
  • MySQL
  • OpenSource
  • Plesk
  • Servers
  • SQL
  • SQL Server Management Studio
  • SSH
  • Uncategorized
  • Virtualmin
  • VMware
  • Windows 10
  • Terms of Service
  • Privacy Policy
  • Contact
  • Facebook

Copyright © 2022 K9 WEBOPS