<<< Date Index >>>     <<< Thread Index >>>

Re: Deleting Duplicate E-mails



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday, January 25 at 03:40 PM, quoth Michael Pobega:
>I'm wondering if there is some easy way to delete duplicate e-mails from
>within Mutt; What I mean is, when Mutt is displaying my e-mails threaded
>the mail is denotated with => instead of ->.
>
>Perhaps there is a macro in Mutt to automatically delete all duplicate
>e-mails? Because going through all of them manually takes ridiculously
>long.

It's easy; all you have to do is combine two details of mutt's 
capability.

     1. Mutt can delete all messages that match a pattern
     2. One of the patterns mutt can match is "duplicate"

So, a simple macro that would do it is this:

     macro index \cD '<delete-pattern>~=<enter>'

~Kyle
- -- 
If Jack Valenti had been around at the time of Gutenberg he would have 
organized the monks to come and burn down the printing press.
                                        -- ITAA president Harris Miller
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iD8DBQFHmkolBkIOoMqOI14RAjj9AKDf+eQnlP4n9D41kicfaqB7aC74fACgpUWg
UFyw7RtwG/cS0ti08ne0Z54=
=sr1N
-----END PGP SIGNATURE-----