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

My company has been looking at setting up a way to archive all incoming and outgoing email in a searchable and reliable setup. We are running a pretty standard exchange 2003 setup, with a third party spam filter. What I was interested mostly in is something in line with our spam filter that can just catch all email after it has passed the spam filter.

Has anyone had experience with this or, is there an open source product out there I could try?

Thanks in advance.

share|improve this question
up vote 5 down vote accepted

Here's an off-the-wall answer (it's a good thing that I can't lose too many rep points for posting this, eh?):

If you want to play with an open source project, have a look at Archiveopteryx ( It's got a really, really sweet normalized SQL-based data storage schema for email (using PostgreSQL). You could combine it with, say, "fetchmail" and the journaling functionality of Exchange (to dump all incoming and outgoing mail, presumably after your spam filter is done with it, into a single mailbox) to create an SQL-based mail archive that you could report and search against with ODBC-based reporting tools.

Really, you should probably be looking at a commercial mail archiving product. I've played with Archiveoptryx for storing my personal mail, but I have yet to try and spin it up for a Customer. I just think the project is really, really cool... >smile<

share|improve this answer

We've used Exim as a passthrough SMTP server logging to file and Postgresql for several years. I've given a sketch of our setup here, but we also have some hashing functions to make it valid for legal purposes and of course several backup strategies for the SQL data and related files.

The huge advantage of per-message files is that they are very easily extractable and easy to reinsert into somebody's mail account.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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