Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Robrt (1414)

Robrt
  (email not shown publicly)

robert at perl dot org

Journal of Robrt (1414)

Sunday January 12, 2003
02:23 AM

qmail, formail, duplicate filtering

[ #9910 ]

I was looking for an easy way to do duplicate filtering using qmail for a mailing list you all know and love. The only sample that google was finding for me involved a perl script and MD5 signatures. Accurate, yet slow. I'd rather not slow down or complicate things. So, I wanted to use the tried and true formail dupe filter generally used with procmail.

The solution:

|preline formail -D8192 .formail-msgid-blah && exit 99 || exit 0

And now, for the next person who has to find this solution, some keywords: dupe, duplicate, filter, dupe filter, email, Message-Id, formail, procmail.

I will now put this into production, and hope it doesn't fail horribly.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.