Koozali.org: home of the SME Server

Horde, I want to delete mass emails

Offline fixit

  • *
  • 216
  • +0/-0
    • http://www.fixitcomputers.com.au
Horde, I want to delete mass emails
« 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
.........

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Horde, I want to delete mass emails
« Reply #1 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
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Horde, I want to delete mass emails
« Reply #2 on: March 26, 2007, 10:33:37 AM »
Quote from: "cactus"
[
Code: [Select]
tm -rf *.


That should read...

rm -rf *
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline eastend99

  • ***
  • 48
  • +0/-0
Horde, I want to delete mass emails
« Reply #3 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.

Offline fixit

  • *
  • 216
  • +0/-0
    • http://www.fixitcomputers.com.au
Horde, I want to delete mass emails
« Reply #4 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
.........