Re: Removal of all messages from a certain account ?

Zoe <[email protected]>
Newsgroups gmane.mail.zoe.general
Message-ID <[email protected]>
Hi Dave,

In case of an emergency, please do not panic and proceed calmly to the 
nearest exit :)

On May 21, 2004, at 18:01, dave johnson wrote:

> I am not sure why but Zoe attempts to load not only mbox files, but 
> also ANY file accessible from the root base of an IMAP account.

The question is rather why does your (UW-?) IMAP server let you browse 
your entire network?

>  after transferring over 7.2GB of data from my hosting provider (gee 
> thanks !) my disk filled up and my Zoe folder now sits at 8.1GB (! ! 
> !)
>
> 1) is there ANY way to kill all of these rogue files ?

Hmmm... surely there is :)

If you don't have a backup of a healthy ZOE data store... well... all 
the raw emails are stored under "<ZOE>/Library/SZ/Mails/"... and you 
will need to sort out which ones come from that rogue account of yours. 
Perhaps running a little script to check the creation date of a message 
and then delete it. Or perhaps there is some kind of common headers you 
could use to distinguish good vs bad messages.

One way or another, some little scripting is called for to sort out 
this mess.

>  ANY search i do is pretty much useless unless. i instead i get 25 
> hits of garbage source and header files. PLEASE PLEASE PLEASE tell me 
> there is a way to fix this as i had decided to move over to Zoe a few 
> months ago and before i added this account, it pretty much had all my 
> old stuff sucked in - it doesn't exist anywhere else :(

Nothing is lost. What you need to do is to devise a way to remove all 
those unwanted messages. All the messages are stored as plain text file 
so it should be relatively straightforward to come up with a way to 
identify the good vs the bad one. Once this is done, run a 'rebuild'. 
This will recreate all your indices.

> 2) Assuming i can fix #1 and haven't put a bullet in my head, how do 
> you specify an alternate IMAP root base (for instance "mail/" ) ?

Add the path prefix to your host name, e.g. 'mail.com/mail'

Let me know how it goes.

Cheers,

R.



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.