Not long ago (exactly Sat, 13 Nov 1999) Roberto Suarez Soto wrote:

> 
>       Hi!
> 
>       I find myself lately receiving some duplicated messages, and I was
> wondering if mutt could handle them (i.e., save the dupes to another folder or
> simply delete them) by itself or I need some external script/program :-m I
> think I could do some Perl script for this, but first I'd like to know if
> there's already something like that :-) I think this' something that has been
> discussed before in the list, so a accurate redirection to the list archives
> would be useful too :-)

This one served me well when experimenting with folder-hooks (mutt-list
had 26000 mails after some testing ;-)

I have the following as a bash-script:
---
formail -q -D 12000 idcache < $1 -s > $1.bk
mv $1.bk $1
rm idcache 2> /dev/null
---
I named it remdup, so "remdup ~/Mail/mutt-users" would delete all
duplicates from the mutt-folder.
 
Greetings
Dirk

+-----------------------Dirk G. Hübner-------------------------+
| For PGP-Key send Mail with Subject "Get Key"                 |
| LUGG - Linux User Group Giessen: http://www.lugg.de          |
+--------------------------------------------------------------+

Reply via email to