Koozali.org: home of the SME Server

Migrated from 5.x to 7.x - trouble access / deleting 500,000 admin emails

Offline dobermin

  • 2
  • +0/-0
I just did a fresh install of 7.x... performed a restore from 5.x ... admin email has nearly 500,000 emails in it..I can logon to the webmail but can't delete... putty'd into /home/e-smith/Maildir/cur and tried rm *.*, rm -f *.*, etc.... as soon as I enter the command, my putty session closes and the emails don't get deleted....

Any suggestions?

Thank you.

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Migrated from 5.x to 7.x - trouble access / deleting 500,000 admin emails
« Reply #1 on: September 03, 2007, 10:10:07 PM »
dobermin

Try using mc
...

Offline dobermin

  • 2
  • +0/-0
Re: Migrated from 5.x to 7.x - trouble access / deleting 500,000 admin emails
« Reply #2 on: September 04, 2007, 12:11:02 AM »
Thank you,

I would use mc to navicate to the cur folder then escape out to run the rm command...it would crash the putty session.. .what ended up working was backing out one directory, running the rm -f -r on the cur directory.  Took a few minutes to delete 1/2 million emails and then I just recreated the cur folder and it allowed me to logon.

Thank you, for the response.