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

Looking for IMAP server that can detect duplicate attachments across mailboxes and would not waste space on them.

So, if 4 local mailboxes receive the same attachment I would like it to be stored only once on the file system.

Open source preferred.

Also, had troubles coming up with concise description for the above, and hence researching online resources, so suggestions for good keywords are also very welcome.


share|improve this question

closed as off-topic by Michael Hampton Feb 23 '14 at 17:20

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking product, service, or learning material recommendations are off-topic because they tend to become obsolete quickly. Instead, describe your situation and the specific problem you're trying to solve." – Michael Hampton
If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 2 down vote accepted

Yeah, Dovecots new mailbox format called dbox can do this.

Single instance attachment storage. If multiple mailboxes/users have the same attachment, it's stored only once in disk.

share|improve this answer
Great... err wait, the whole quote is 'dbox storage is extensible, so in future there will be other extensions. Some things that are planned: Single instance attachment storage.' Also, according to… I think it is only in testing stage (pls correct me if I am wrong). +1 for help with keywords... – Unreason Sep 14 '10 at 10:51
You're right with the 'single instance' point. This is only planned. 'testing stage' is not the right word, it seems more stable than that. – weeheavy Sep 14 '10 at 11:42

On which operating system do you want to run it?

Exchange does exactly that (and not only to attachments, but to whole messages).

But implementing Exchange only to have an IMAP server would be quite overkill...

share|improve this answer
FYI Exchange single instancing only does this within mailstores and even that has been dropped for Exchange 2010. – Helvick Sep 14 '10 at 11:00
Yes, I know this is applied at the database level (which should anyway be quite obvious when thinking of it); but thanks for pointing it out. – Massimo Sep 14 '10 at 12:05

Cyrus IMAP can do this among many other things. But be warned, Cyrus is not as straight-forward to install as Dovecot.

share|improve this answer
Thanks. What's the terminology for it in Cyrus? +1 – Unreason Sep 14 '10 at 11:37
singleinstancestore. It's per email, not per attachment. It's turned on by default, but you need to be using LMTP delivery as it only does this for each recipient on a single instance of receiving a message, it does not do correlation to previously-received emails. – Phil P Sep 24 '10 at 0:42

Bit of a different answer, but what OS? Do you have the option of something like ZFS (which I believe does dedupe)?

share|improve this answer

Windows Server 2012 data deduplication can do this job, see the answer of Gabrial Talavera here. I mean, that it is not necessary to be the feature of IMAP server, it can be the feature of filesystem. Filesystem can detect same files and save them internally as only one.

share|improve this answer

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