# junkfilter # a junk email filter system for procmail # Copyright 1997-2002 Gregory Sutter # # $Id: junkfilter.white,v 1.10 2002/03/08 04:36:16 gsutter Exp $ # # Please read the file "README" and the page # http://junkfilter.zer0.org/ before using junkfilter. # junkfilter.white, the whitelist module. JFSEC=white JFLIST=(`cat $JFDIR/jf-white`) :0 * $ $ ()${JFVER}\/${JFLIST:-\$JFNOMATCH}${JFVERR} { JFSTATUS=1 JFMATCH="$JFSEC: $MATCH" INCLUDERC=$JFDIR/junkfilter.match } JFLIST # variables within *-user sections are not expanded, because the extra # escape can make the regexps rather complex. :0 * $ ${JFSECUSER}^0 { JFUSERLIST=(`cat $JFSECUSERLOC`) :0 * $ ()${JFVER}\/${JFUSERLIST:-$JFNOMATCH}${JFVERR} { JFSTATUS=1 JFMATCH="${JFSEC}-User: $MATCH" INCLUDERC=$JFDIR/junkfilter.match } JFUSERLIST } JFSEC # EOF junkfilter.white