Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 would like to know if there exists a solution for archiving email, stripping out the attachments and saving them separately, deduplicated?

The ideal would be a maildir-setup, with a script running over the messages, extracting the attachments, using e.g. hard links for existing/identical attachments, leaving a link/URL to the saved attachment left in the message.

Does anything like this exist, as scripts or anything that can be run on a linux server?

AFAIK Zimbra is set up similar, with a custom maildir+database backed storage, however, I would like something a bit more "transparent" for my archiving needs.

share|improve this question
up vote 2 down vote accepted

Dovecot does exactly this (Single Instance Storage) now with their dbox maildir format.

share|improve this answer
but it is a planned feature and not currently available? – grojo May 26 '11 at 18:52
It was introduced with 2.0.6 in Oct 2010 – Hyppy May 26 '11 at 19:18
Ok, but is it ready for production? In the wiki (not updated) it says it's a "planned feature", in the announcement in Oct'10 it says "This feature hasn't had much testing yet, so be careful with it.". – grojo May 27 '11 at 8:03

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.