On Tue, Jun 07, 2005 at 03:51:07PM +0100, Adam Bower wrote:
On Tue, Jun 07, 2005 at 01:10:01PM +0100, Chris Green wrote:
Are there any tools out there which will take a mbox file and remove duplicate messages? Removal on the basis of Message-Id: would be fine.
Yup, and you used it to send the original message. Mutt can do a select duplicates using tags and patterns.
See
http://www.mutt.org/doc/manual/manual-4.html#patterns and http://www.mutt.org/doc/manual/manual-4.html#ss4.3
for more info.
... er, yes, and having tagged the duplicate messages how does one delete all but one of them, automatically by script?
I think formail is a better answer! :-)