[Dovecot] Removing Duplicates

Terry Barnum terry at dop.com
Tue Mar 16 08:35:17 EET 2010

On Mar 14, 2010, at 4:21 AM, Sabahattin Gucukoglu wrote:

> Hi all,
> I am starting fresh with a local repository of mails, which almost certainly have duplicates in them.  I am going to use maildirs, and ensure all mails are input with CRLFs.
> The question is: does anybody know how I can find and remove duplicates, either while injecting mail with IMAP, or afterward?  I can use tools to find duplicate Message-IDs, but don't know of a way to remove duplicates in mailboxes that are already imported as opposed to incoming mail.  Perhaps there is a way to use the IMAP protocol for this?


It will skip duplicates during transfer.


More information about the dovecot mailing list