Web Hosting Talk







View Full Version : How to delete 12,000+ emails?


BH2000
11-28-2004, 10:23 PM
Im using Cpanel control panel on a Linux box.

The email program is Horde.

Id like to easily delete 12,000+ emails from one of my host accounts.

Seems that over the past 8 months the SPAM has piled up.

I really dont want to delete th emails page by page.....can I go into my file manager so how and delete the emails there?

kaz
11-28-2004, 10:33 PM
check /var/spool/exim/input

in there could be lot of spam.

eth00
11-28-2004, 10:33 PM
Look in mail/domain.com/user/inbox

Just delete and recreate the file :)

neutro
11-28-2004, 10:37 PM
you could do via ssh-


(if cpanel)
/home/acc/mail/user
echo -n > inbox

goodbye to 12k messages

BH2000
11-28-2004, 10:38 PM
Can you please provide more details on how to 'recreate the file'?

Thanks!

eth00
11-28-2004, 10:39 PM
I am not sure via the file manager, via shell just use "touch inbox"

BH2000
11-28-2004, 10:47 PM
I just got a dedicated server via GNAX.com and Im not sure how to access the server via SSH.

I know that somehow it gives me a text line that I can enter commands on.

Do I simply go thru my WHM on the Cpanel?

mattwade
11-29-2004, 12:36 AM
You will need a SSH client. Putty is a popular one.

assistanz247
11-29-2004, 12:40 AM
Yes you can use putty.exe to connect your server. After the 'echo' you don't need to re-create the file because echo command will remove only the contents of the file. Although you removed the file no problem do the following,

touch inbox
/scripts/mailperm

This will do. :)