# junkfilter # a junk email filter system for procmail # Copyright 1997-2000 Gregory Sutter # # $Id: procmailrc.sample,v 2.3 2000/11/30 08:31:07 gsutter Exp $ # # Please read the file "README" and the page # http://junkfilter.zer0.org/ before using junkfilter. # This is a simple sample .procmailrc that calls junkfilter. # It will work as-is, but you may want to change $PMDIR and $JFDIR. SHELL=/bin/sh PATH="$HOME/bin:/usr/bin:/usr/local/bin:/usr/include:/usr/local/sbin:/bin:/sbin:/usr/sbin" MAILDIR=$HOME/mail PMDIR=$HOME/.procmail JFDIR=$HOME/.procmail/junkfilter DEFAULT="inbox" LOGFILE=$PMDIR/log LOGABSTRACT=all VERBOSE=no # Procmail mailing list :0 : * ^Resent-From:.*procmail@Informatik.RWTH-Aachen.DE | formail -i "X-Fkey: procmail" >> procmail # Call junkfilter INCLUDERC=$JFDIR/junkfilter # Take action if junkfilter caught a junkmail. :0 * JFEXP ?? . { :0 f * JFSTATUS ?? 1 | formail -i "X-junkfilter: $JFVERSION" -i "X-Spammer: $JFEXP" :0 E : | formail -i "X-junkfilter: $JFVERSION" -i "X-Spammer: $JFEXP" \ >> junkmail } # Catches everything else. :0 : inbox # EOF procmailrc.sample