Stop worrying about your server.

cPanel/Plesk Server Management for just $59/mo with Unlimited tickets, Unlimited admin hours, Security audits, 24×7 monitoring and lot more 

cPanel Server Management  $59/mo Click here

Plesk Server Management $59/mo Click here

How to clear all the emails for default cPanel email account

Default email accounts are stored in 2 folders called “cur” and “new” under /home/username/mail/

So you need to clear all the filer under  /home/username/mail/cur/ and  /home/username/mail/new/

Run the following commands to clear the files

rm -rf /home/username/mail/cur/*
rm -rf /home/username/mail/new/*

The changes in the usage wont reflect in cPanel interface. Because the disk usage details are stored in file called maildirsize so lets rename it

mv maildirsize maildirsize_old

Monthly server support with Unlimited tickets, 24×7 monitoring, Security Audit and lot more for just $59 

[sep][/sep][button size=”large” color=”green” title=”Server Management from iServersupport” link=”http://iserversupport.com/cpanel-server-management/”]Server Management at just $59[/button]