[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nmh-workers] Re: enhancement to mhfinddup

From: Bill Wohler
Subject: [Nmh-workers] Re: enhancement to mhfinddup
Date: Mon, 15 Sep 2008 21:12:37 -0700

address@hidden wrote:

> I started to use Bill Wohler's mhfinddup script[1] to delete the
> duplicates

Awesome :-).

>           , then my caution took hold...in addition to using the
> Message-Id (which "should" be "unique", but since it may be
> client-generate, which could have collisions), I decided to add
> another test for duplicates to mhfinddup. Using formail(1) and perl's
> Digest:MD5 module, the script now tests for a duplicated checksum in
> the body of the message if the Message-Id's are the same. The decision
> to test only the message body is to ensure that messages which only
> vary by date stamps in the headers are treated as duplicates.
> Below you can find the diff (suitable for feeding to patch(1)) against 
> mhfinddup 1.2.

Thanks very much for the patch. I'll play with it when I have some time!

Bill Wohler <address@hidden>  http://www.newt.com/wohler/  GnuPG ID:610BD9AD

reply via email to

[Prev in Thread] Current Thread [Next in Thread]