Scipt to delete duplicate messages in Sent and Inbox?

Mikhail T. mi+cyrus at
Mon Apr 4 12:12:10 EDT 2011

On 04.04.2011 12:00, info-cyrus-request at wrote:
> Hi - We have a lot of users who send themselves files or message
> reminders, that of course also get stored in their Sent folder.  I would
> like a script that checks for such duplicate messages using the
> Message-ID line, and delete the message in the Sent folder.  Has anyone
> written such a script, or is there a better way to do what I want?
What I use for this purpose is a Thunderbird extension. It let's the 
user pick one or multiple mailboxes and search for duplicates in all of 
them. The list of duplicates is then presented and one can pick, what to 
do with them (Delete or move to Trash)...

This is not a server-side solution, that you were asking for, but it may 
be even better for those of your users, who use Thunderbird. Search 
Thunderbird's extensions web-site for the extension named "Remove 
Duplicate Messages (Alternate)".


More information about the Info-cyrus mailing list