Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: fixit on March 26, 2007, 06:02:21 AM

Title: Horde, I want to delete mass emails
Post by: fixit on March 26, 2007, 06:02:21 AM
I have over 20,000 emails in a inbox that I would like to delete all at once, not 20 at a time.

Is there a simple way to do this & what procedures are involved

Thanks Russell
Title: Re: Horde, I want to delete mass emails
Post by: cactus on March 26, 2007, 08:39:34 AM
Quote from: "fixit"
I have over 20,000 emails in a inbox that I would like to delete all at once, not 20 at a time.

Is there a simple way to do this & what procedures are involved

Thanks Russell
If you have shell access you can try and find your inbox (/home/e-smith/files/users/username/Mailbox/ and use the 'rm' command to remove them all at once:
Code: [Select]
rm -rf *. New mail is in the new folder all others probably in the  cur folder.

Good luck!

Edit: corrected typo in suggested command
Title: Re: Horde, I want to delete mass emails
Post by: byte on March 26, 2007, 10:33:37 AM
Quote from: "cactus"
[
Code: [Select]
tm -rf *.


That should read...

rm -rf *
Title: Horde, I want to delete mass emails
Post by: eastend99 on March 26, 2007, 10:36:01 AM
Click the folders Icon
select the inbox folder
in the "Choose action" drop down box select "Empty Folder(s)"

That should do the trick.
Title: Horde, I want to delete mass emails
Post by: fixit on March 26, 2007, 11:21:22 AM
Thanks everyone, I removed everything that was in /home/e-smith/Maildir/cur . Thats what I was after

Thanks