How to delete all email messages in cPanel
I stupidly didn’t set the default email address to :fail: on a couple of accounts on my cPanel server and found, while running a remote backup, that there were a few gigs of spam emails that were just sitting in those accounts.
But after going through about a dozen of the 500+ pages in Horde to delete the message I figured there had to be a quicker way. Found it by clicking on the Folders icon in Horde, selecting Inbox, and selecting Empty folder. It prompted me to delete all the messages and a few minutes later they were gone and the disk space was back.
Question, Comments...
Do you have more questions. Please either leave a comment below or join us in our new forum.
Oops, one flaw found. On the account that had about 160,000 emails the server used up the memory that it had allocated to PHP. So I had to empty the folder 3 times. Still better than the 100 or so pages of 999 messages I was trying to delete.
thanks for the tip!
i had exactly the same problem – although *only* 75K emails, but you saved me a LOT of time getting rid of em.
Thx
Thanks! I’ve been searching cpanel for the past few hours to solve this problem.
Dude, that tip just saved me hours, thankyou.
Same story, had 3mb of website files, and 497mb of email spam in an account I didn’t even know existed.
Muchas gracias
Also funny, the hosting company couldn’t work this out or even spot the problem.
OMG, THANK YOU!!!!!!
You are the MAN!!!! Thanks