# junkfilter # a junk e-mail filter system for procmail # Copyright 1997-98, Gregory Sutter # and Matthew Hunt # # Please read the file "junkfilter.readme" and the page # http://www.pobox.com/~gsutter/junkfilter/ before using # junkfilter. junkfilter is copyright 1997-98 Gregory # Sutter and Matthew Hunt. All rights reserved. # Opt section, for options specified in junkfilter.config JFSEC=Opt # Is the recipient's email address in the To: or Cc: field? :0 * $ $JF_OPT_NOTRECIP^0 { :0 * ! ^(To|Cc):.*$JFMAILADDRESS { JFEXP="$JFSEC: Recipient address not in To: or Cc: header" } } # To: or Cc: header with more than 60 recipients. :0 * $ $JF_OPT_60RECIP^0 { :0 * ^TO_.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.*,.*@.* { JFEXP="$JFSEC: Sent to more than 60 people" } } # X-UIDL header :0 * $ $JF_OPT_XUIDL^0 { :0 * ^X-UIDL: { JFEXP="$JFSEC: X-UIDL header present" } } # msn.com is a spammer haven and I'm sick of it. :0 * $ $JF_OPT_MSN^0 { :0 * ^Received:.*\.msn\.com\> { JFEXP="$JFSEC: Received from msn.com" } } :0 * $ $JF_OPT_DIAL^0 { # Dialup connections: big spam sources, but have plenty of real # customers as well. The reals usually don't send email from there. :0 * $ ($JFFROMREC)\/($JFDIALUPS) { JFEXP="$JFSEC: dialup: $MATCH" } } JFSEC # EOF junkfilter.opt