# junkfilter # a junkmail filter system for procmail # Copyright 1997, Gregory Sutter # and Matthew Hunt # # Revision 4.11 1997/11/17 gsutter # 4.11 New AOL rule replaces broken one # Changed order of DOMAINS and ADDRESSES setting (IRIX bug?) # LINEBUF increased to 65536 to ensure no overflows # BODYCHK added! similar to DOMAINS but checks for statements in body. # To: formatting rule removed # BOFH rule fixed # Pegasus rule fixed # Web solicitation in body rule removed # Removed 'E' flag from all rules # Added X-Authentication-Warning check for spoofers. # Removed "bulk" from junk mail software entry. # 4.10 Fixed bug with domain and address lists # 4.09 Changed domain and address lists. No longer built # on the fly by perl. Distributed with release. # This makes it simpler and much much faster. # 4.08 Fixed body, bofh, and strict so they actually run. # 4.07 Added another forged {freemailservice} check. # 4.06 Added !Path statement in body.exclamation recipe # 4.05 Added configuration file, merged other files. # 4.04 Added another variant of e-Merge/eMerge bulk mailer # Added more body text rules # Moved some recipes from main to strict # Removed most of scoring (unnecessary) # To: recipe changed (TLD added) # 4.03 Linebuf upped. # 4.02 Emailer Platinum added. # 4.01 Scoring added throughout # Please read the file "rc.junk.readme" and the page # http://www.pobox.com/~gsutter/junkmail/ before using # junkfilter. junkfilter is copyright 1997 Gregory Sutter # and Matthew Hunt. All rights reserved. # STRICT is for the strict section of junkfilter. It is # pretty active at filtering junk, but might catch # a few nonjunk messages too. Use at your own # discretion. I certainly would NOT recommend setting # the default action to /dev/null. STRICT=1 # BOFH is for the bofh section of junkfilter. It will # surely filter lots of real mail as well as as # much spam as it can find. If you don't mind # this, feel free to use it. Personally, I don't # use this file at all. Don't point the action to # /dev/null, as you'll lose a lot of legitimate mail. BOFH=0 # BODY is for the body-checking section of junkfilter. # It will search through the bodies of messages, finding # strings commonly employed by spammers. Be careful # with this, as it may also filter some legitimate # mail. BODY=1 # There shouldn't be anything else here that you need to # configure. SPAMMER FROM="^((Resent-|Apparently-)?From|(X-)?Sender|Reply-To|Return-Path|(X-)?Envelope-From)(.*\<)?" LINEBUF=65536 ADDRESSES=`cat $JFDIR/jf-addresses` BODYCHK=`cat $JFDIR/jf-bodychk` DOMAINS=`cat $JFDIR/jf-domains` # EOF rc.junk.config