Re: [Evolution] Recovering cached mail



If those really are rfc822 mail files, you could probably just
concatenate them together (which would produce an mbox file) and copy
the mbox file to ~/.evolution/mail/local/.

Something like:

cd ~/.evolution/mail/exchange/<acct>/personal/sub/folders/Saved\ Items/
cat * >cache-mbox
mv cache-mbox ~/.evolution/mail/local/

It's possible that the rfc822 files do not end with a blank line.  If
that's so, the above may not work (mbox files are rfc822 messages
separated by blank lines).

When the cache-mbox file is in the evolution local mail directory,
restarting evolution should get it to show up in your folder list.

HTH, I am not an evolution expert (just user),
Andrew

On Wed, 2007-02-07 at 18:40 +1100, James McCaw wrote:
Hi evolution mailing list

Today I accidently deleted some mail (only about 30 messages) from an
exchange server account. I discovered I have a locally cached copy in
the directory ~/.evolution/mail/exchange/<account name>/personal/sub
folders/Saved Items/

In that directory there are two binary files "cmeta" and "summary" and
a directory "cache" (with subdirs full of the RFC 822 mail files). I
can confirm that the 30 missing messages are there by examing the
files in "cache" one by one.

Unfortunately I can't find a way to recover those files or import them
back into evolution. The File->Import dialog doesn't allow me to
import those files.

Any tips? Thanks in advance for any replies.

Cheers
James





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