Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking for an open source application that will archive my email. It might do this by logging in to my POP3 account on a regular basis and copying the emails across, or it might just read my Unix mbox/maildir file/directory directly on the mail server.

It must be open and it must run on Linux (or any open OS actually). Ideally, it would have a web interface, but this is not a major requirement.

MXsense ( seems to be pretty-much what I want, except it's not open.

I have no requirement for MS Exchange support.

Any suggestions?

The rationale (maybe a bit silly) is that I run Linux exclusively and it's still doesn't have an email client that is anywhere close to MS Outlook in terms of awesomeness, so I find myself switching between mail clients often. I would feel better about this if I had an archive of my emails, so it wouldn't matter which mail client I was using this month.


locked by Chris S Aug 27 '12 at 15:02

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.

closed as not constructive by Chris S Aug 27 '12 at 15:02

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 1 down vote accepted

Try Mailarchiva, it is a good mail archival system with search options.



There's an open source product to do what you're looking for, though it may be a bit heavy-weight for a single mailbox. It's got a normalized relational database schema and uses Postgres on the back-end for data storage (such that you can "connect" to the mail store with ODBC drivers, etc). Have a look:


It sound like you may be over-thinking this a bit. Why not just write a script that archives (think tar) the mailbox on the server with the date/time as part of the filename and store that somewhere? Run it as often as you like via cron.

As for the client, Evolution is the only thing I've found that's anywhere near an Outlook replacement. I haven't used it for a couple of years but when I did I was very pleased and impressed.


Following up on Martynas' response, you could also set a forward to copy a gmail (or similar) account, and you can probably set your mail client to bcc that same gmail account for every message you compose/send. Then you can just log in to gmail to go through (or better yet, search) your archive.

This is more of a single-user based approach. I use IMAP instead of POP, so it doesn't matter which mail client I am using (or on which computer), as all mail is stored and organized on the server.


If you have access to your .forward file or you have access to the box, you can pipe mail to the file every time you receive it.

Even without direct server access you could use fetchmail to pick up your mail and store it. This post is interesting -

For web interface you could use to create html archive.


There is a command line program, archivemail, which does what you want.


if you are still searching for an open source email archiving solution, then try piler ( It offers lot more than the mailarchiva open source edition.

Welcome to ServerFault! Please read the faq (you'll even earn a badge if you complete it) before posting. Although open source is wonderful, I hope you're here to offer more than links to your project on three-year-old questions. – jscott May 1 '12 at 0:11

Enkive is an open source email archive and recovery tool, which has a number of great features like full-text search, search result exports, and deduplication.


Try evolution. It is as good as MS OUtlook. May be you wont look for archiving then. Or thunderbird which works on both Windows and Linux.

Why not? But it is not the question he asked. – bortzmeyer Jul 21 '09 at 14:22
Both evolution and thunderbird support POP3 protocol. So they can be used to download pop3 emails from servers for archiving and storing locally. Also they can be configured to remove the copy of email from server if necessary. I guess that makes my answer relevant to question. Also the question mentioned he feels there is no client as good as MS Outlook. So it was important to mention clients like evolution / thunderbird are as good as MS Outlook. – Saurabh Barjatiya Jul 21 '09 at 16:36

Not the answer you're looking for? Browse other questions tagged or ask your own question.