[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-talk] Delete email from Sup index



Excerpts from Thorsten Fischer's message of ven fév 11 15:25:01 +0100 2011:
> I have been through exactly that about ten minutes ago to get rid of
> >40k index entries in my sup setup. Good timing! ;)

Yeah, but I receive too much cron output emails and other boring
automatic daily reports, so it's easy to reach this value ;).

> What I did:
> 
> * stopped the periodic polling of my offlineimap, just in case, to keep
>   the sources from changing.
> * made a backup of my .sup/ folder, just in case.
> * created a label dump file using sup-dump.
> * deleted the .sup/xapian folder.
> * run sup-sync with the --restore option, pointing to the dump file.
> 
> The index was re-created from the dump file, but only taking into
> account the files that were currently available from the sources. Worked
> like a charm. Better, in fact, since charms don't work at all. Ahem.

Ok, this should be a good hack if I do this operation occasionally, but
I can hardly automated it…

But thank you anyway!
-- 
Romain Dessort
Jabber ID : romain@univers-libre.net
GnuPG : 3072D/724BC532
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk