Methods for archiving e-mail

Joey Hess joey at
Fri Apr 20 23:12:26 CEST 2012

Sean Whitton wrote:
> 2) I currently split my e-mail into my current inbox and folders, a
> few hundred megabytes, and 5GB of archives removed by the archivemail
> script.  It would be much more useful to have my archives stored
> locally, for easier searching, backed up to S3 somehow.  Anyone got
> any vcshome-style experience of storing e-mails?  Git on a Maildir,
> git-annex on mboxes?  Any recommendations appreciated.

I archive my mail to compressed mboxes, one per month. If I used maildir
it'd flirt with running out of inodes or exceeding the number of files
git can comfortably scale to. And it would probably waste rather a lot
of space. The main disadvantage of mbox for me is that notmuch does
not support it. I use mairix instead.

I am not using git-annex for it yet because this predates git-annex, and
the 1 gb that ~/mail/.git is wasting has not yet been space that I
strongly needed for something else. I do anticipate switching it to
git-annex eventually. I've been meaning to start keeping an archive of
all incoming mail (even spam), before mutt gets a chance to delete some
of it, and that will grow a lot faster and will need to use git-annex.

see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <>

More information about the vcs-home mailing list