Help - Search - Members - Calendar
Full Version: how do we delete the mails in an inbox?
The Planet Forums > Control Panels > cPanel/WHM
martinjr76
i had an inbox which was flooded with 7k worth of spams, is there a way to completely delete all those emails? I tried using squirrel but it timeout after 30secs icon_sad.gif
martinjr76
help anyone?
S3P
Using redhat? You could ssh in and delete the inbox in question and create a new, empty file named 'inbox' in its place. That would permanently erase all inbox messages, including anything you do want. Make note of the permissions and ownership of the inbox file before you delete it, and assign accordingly to the new inbox file.

Edit:In the case of redhat and exim, at least, it's better to just delete the inbox without creating a new one. if there is no inbox when mail is next received, a new inbox will be created automatically for you.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.