My evolution (3.0.3) has a maildir directory:
~/.local/share/evolution/mail/local/
cur/##########.######_#.username:2,S
cur/#########.######_#.username:2,S
folders.db
new/
tmp/
folders.db
says something about sqlite
in it, I can't tell if there are mail messages in that file; the files under cur
seem to have messages in them; but they are not in mbox
format, and it doesn't look like all of the messages that I have under "On This Computer" are in these files.
There is no ~/.evolution/
directory.
How (and where if I'm not looking in the right place) does evolution store its email?
The default local folder implementation (for folders under "On This Computer") uses mbox(5) format, in which all the messages at the top level of each folder are kept contiguously in a single file, supplemented by some summary and index files. This structure lives under ~/.evolution/mail/local/. For every mail folder foo, some or all of the following files exist:
The file foo is just plain old mbox(5) format and you may access it (carefully, and preferably read-only) with a MUA which understands mbox format, i.e. nearly all of them. For example with 'mutt':
You should only do this when Evolution itself is not running. Note that any of the supplementary files can be removed and Evolution will reconstruct them next time it runs. You can also grep the file for text strings or addresses for use in the normal UNIX world.
The foo file contains only messages. If the foo folder contains other folders the contents of the foo.sbd directory recursively look like the above list.
I can honestly say with out any hesitation that I have got this answer from think FAQ-Evolution web-page. you can review that for more information.
Evolution uses the Maildir++ specification for local folders, as stated in this commit. The emails end up in a
cur
folder, each in a separate file, named as such:The VERSION is always 2. The FLAGS are the first letters of these words: Passed, Replied, Seen, Trashed, Draft, and Flagged.
Other mail readers, such as
mutt
, should be able to use these folders. It doesn't recurse in subfolders, though:On my version of Evolution:
Local folders ("On This Computer"):
~/.local/share/evolution/mail/local/.<folder_name>
ls -a ~/.local/share/evolution/mail/local/ . .. ._2EDrafts ._2EDrafts.cmeta ..cmeta cur .Drafts .Drafts.cmeta folders.db ..maildir++ new .Outbox .Outbox.cmeta .Sent .Sent.cmeta .Templates .Templates.cmeta tmp
If you want to look at the cached IMAP e-mails, for example:
Your folders are going to be there as well as your mbox messages:
From the help documentation in Evolution;
Evolution 3.6 and later stores its data according to the XDG Base Directory Specification. By default this means:
The user's data files
Various configuration and state files
Account settings
Disposable data caches
Configuration settings in GSettings