1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
# junkfilter
# a junk e-mail filter system for procmail
# Copyright 1997-98, Gregory Sutter <gsutter@pobox.com>
#
# $Id: junkfilter.bodychk,v 1.5 1998/08/24 00:10:47 gsutter Exp $
#
# 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 is licensed under the terms of the GNU
# General Public License, version 2. See the file
# junkfilter.readme for details.
# Is there a listed phrase in the body of the message?
JFSEC="bodychk"
JFBODYCHK=(`cat $JFDIR/jf-bodychk`)
:0HB
* $ ${JFBODYCHK:-$JFNOMATCH}
* < 60000
{
:0B
* $ ()\/($JFBODYCHK)
{ JFMATCH="$JFSEC: $MATCH" INCLUDERC=$JFDIR/junkfilter.match }
}
:0
* $ $JF_BODYCHK_USER^0
{
JFUSERBODYCHK=(`cat $JF_BODYCHK_USER_LOC`)
:0HB
* $ ${JFUSERBODYCHK:-$JFNOMATCH}
* < 60000
{
:0B
* $ ()\/($JFUSERBODYCHK)
{ JFMATCH="${JFSEC}-User: $MATCH" INCLUDERC=$JFDIR/junkfilter.match }
}
JFUSERBODYCHK
}
JFBODYCHK
JFSEC
# EOF junkfilter.bodychk
|