Here is my procmail duplicate filter.

Mike A. Harris (mharris@ican.net)
Fri, 7 Aug 1998 10:26:22 -0400 (EDT)


I've been getting inundated with requests a duplicate filter
since my comment on the duplicate messages on this list. I
replied and sent it out to a handful of people, however I think
it is much easier to just post it here, rather than fiddling with
gpm every time someone requests it.

Just for your information, I didn't create this filter, rather it
is copied directly out of the procmail manpage or the procmailex
manpage (examples). I modified it to use a 256k message id
cache.

Works great.

#
# Duplicate filter
#
:0Whc:msgid.lock
| formail -D 262144 msgid.cache
:0a:
dupes

--
Mike A. Harris  -  Computer Consultant  -  Linux advocate

Escape from the confines of Microsoft's operating systems and push your PC to it's limits with LINUX - a real OS. http://www.redhat.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html