NAME

eliminate-dups

DESCRIPTION

Reads an email message on standard input and calculates a fingerprint based on the mail headers. If the fingerprint already exists in the hashfile, then the message is a duplicate. If the fingerprint does not exist, save the fingerprint in the hashfile and deliver the message.

SETUP

Create a ~/.qmail-maildir file

./Maildir/

Then add the following lines to your ~/.qmail file

| eliminate-dups hashfile
&user-maildir

The forwarding to the user-maildir address ensures that if delivery to the Maildir is deferred, eliminate-dups will not be called a second time (which would result in a lost message).

LICENSE

Copyright (C) 2007-2008 Len Budney

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.