1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
- junkfilter.lists is a general-purpose abstraction for processing
lists of suspect patterns in message headers. Its intended
specification is along these lines:
- calling params:
- JFSECTION
names a particular type of "suspect" list, e.g. the string "ip" for
suspect IP addresses; used to retrieve the relevant file, in this case
jf-ip from the JFDIR directory. JFLIST is set by reading in the
contents of $JFDIR/jf-$JFSECTION
- JFVER
a "left context" for a suspect pattern - i.e., in order to be
considered a Match, the suspect pattern must be immediately preceded
by the JFVER pattern
- JFVERR
a "right context" for a suspect pattern - in order to be considered
a Match, the suspect pattern must be immediately followed by the
JFVERR pattern
- output params:
- JFMATCH set as usual for all junkfilter matches, contents will be
appended to JFEXP by the standard processing of junkfilter.match
|