I don’t think this anomaly is related in any way to my usage of my laptop while in Raleigh last week, but this morning when I went to retrieve mail, I received 645 duplicated messages; these were filtered by my mail app rules into their proper mail folders, spam and all. Something in the mail delivery process was obviously seriously verfuckled.
I’d have gone blind trying to clean this up by hand, but The Google led me to this nifty collection of mail-related Apple Scripts. One of the scripts was entitled RemoveDuplicates.app, which deletes duplicate messages from a folder or folders of your choice, and moves them to a folder called “Duplicate Messages”. Slick and painless. Several other scripts are included in the bundle, and it’s a free download. Order is restored.
-k-
Update: The script considers messages to be duplicates if they have the same message id. This is as it should be.
Technorati Tags: macmail, mailutility



![Validate my Atom 1.0 feed [Valid Atom 1.0]](http://www.quietvoice.org/wp-images/valid-atom.png)
One Comment
I’m one of about a hundred open source contributors to Thunderbird (the odd bug fix or bug reproduction write up every now and then, nothing fancy). So I don’t use Mac Mail, even though I do most of my personal computing on my PowerBook.
But I’ll keep this script around for learning more about AppleScript. Maybe I’ll add AppleScript integration to Thunderbird 2.0 as an extension.