Server-based email archiving?

I would like to archive every email that is received or sent from our domain. Then I want to put that information into a database. Right now I’ve wrote a little piece of software to read from my client Outlook PST file, but it would be great to do it on the server instead.

Anyone have ideas on how to do this with Dreamhost? Or do we need a 3rd party to handle our email? I saw this one listed in a previous thread:


I don’t think you’ll find a way to archive outbound mail. That mail goes straight from your mail client (i.e. Outlook) to a DreamHost SMTP server where you don’t have access. Your user(s) will have to bcc: their mail to go to a specific mailbox.

To archive inbound mail, you’ll need to add a forwarder to each account (in additional to its fully hosted mailbox) that goes to that specific mailbox I mentioned above.

Then, you’ll need to set up Maildrop on that mailbox:

Or jump into the world of procmail on your shell account:

Ok. I guess we’ll have to host our email at a different place. I’ve also heard about people using a proxy to do it:

Any suggestions?