What format does evolution store its mail in?
Solution 1
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:
foo
foo.cmeta
foo.ev-summary
foo.ev-summary-meta
foo.ibex.index
foo.ibex.index.data
foo.sbd
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':
$ mutt -R -f ~/.evolution/mail/local/foo
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.
Solution 2
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:
TIMESTAMP.PID_INCREMENT.HOSTNAME:VERSION,FLAGS
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:
mutt -f ~/.local/share/evolution/mail/local/.Archives
Related videos on Youtube
Dave
Studied physics, Works at statistical data analysis, Plays at making music.
Updated on September 18, 2022Comments
-
Dave over 1 year
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 aboutsqlite
in it, I can't tell if there are mail messages in that file; the files undercur
seem to have messages in them; but they are not inmbox
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?
-
Rinzwind almost 11 yearsIt should be mbox(5) according to live.gnome.org/Evolution/…
-
Dave almost 11 yearsBut it's not; that's my problem.
-
-
Dave almost 11 yearsThis answer applies to evolution < 2.32.0.
-
Christophe Drevet over 4 yearsThat's a very old question but I hit it any way when searching for the answer. May it help others.