TechyTrois
  • Home
  • Our Services
  • Blog
  • About Us
  • Contact us
  • Client Login
Select Page

cPanel issue – Wrong disk space for an email account !

by admin | Jul 12, 2014 | cPanel/WHM | 0 comments

– 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.

Submit a Comment Cancel reply

Recent Posts

  • Setting up Varnish in WHM – Cloudlinux Server
  • Simple backup script to offload WordPress daily backups to a remote server/storage
  • Virtualmin – not able to add more than 10 accounts !
  • VestaCP – Exim and dovecot issue
  • [proxy_http:error] cPanel creating Apache Proxy loop on Account transfers

Categories

  • Android
  • Apache
  • aws
  • cPanel/WHM
  • DNS
  • Firewall
  • General
  • IIS
  • Linux
  • Mail service
  • Microsoft Windows
  • MySQL
  • OpenSource
  • Plesk
  • Servers
  • SQL
  • SQL Server Management Studio
  • SSH
  • SSL
  • Ubuntu
  • Virtualmin
  • VMware
  • Windows 10
  • WordPress

Pages

  • About Us
  • Blog
  • Contact us
  • Home
  • Our Services
  • Our Services- INR
  • Privacy policy
  • Refund Policy
  • Terms and conditions

TechyTrois






 

Privacy Policy

Terms and conditions

Refund policy

© TechyTrois 2020-2021