# $Id: spam.filter,v 1.1.1.1 1998/07/29 15:14:30 proff Exp $
# fuzzy filters
#
# scope	weight	options	pattern
#
# "scope" defines the "search scope" and can have one of the
# following values:
#
# 	head	- matches HEAD/STAT against article header
# 	ahead	- matches HEAD/STAT/ARTICLE/BODY against article header
#	body	- matches ARTICLE/BODY against article body
#	article	- matches ARTICLE/BODY against the whole article
#	header:	- matches XOVER/XHDR against a particular header
#
# nb. "header:" is an actual header, e.g "Subject:". The
#     header is case insensitive and is used for matching
#     against XOVER and XHDR requests (i.e when then client
#     fetches a list of articles, not the articles themselves)
#
#     the use of "body" and "article" together should be avoided
#     due to the large degree of duplication involved. use
#     "ahead" and "body" unless you need to tie the headers in
#     an article together with article content, in which case
#     use "article" (and maybe "ahead"/"head")
#
# "weight" is a positive or negative floating point value, normally
# on or between -10000 and +10000, and optionally prefixed with
# a '*' or '/' which designates the weight should be added to
# the current score, which is then multiplied/divided by the
# the weight. weights are floating point, so can numbers like
# 0.25 etc [actually no: at the moment GCC is karking itself
# with -O and floating point. go figure. we use ints for now]
#
# the score starts at zero. if the filter exists with a score
# greater than +100, then the filter is presumed to be true.
# if at any stage, the score is above or equal to 10,000 or below or
# equal to -10,000 then the filter stops scanning with that score.
#
# "options" are currently one or more of the following (seperated
# by commas, with the obvious semantic limitations on not having
# two options which imply the opposite thing):
#
#	regex		-	pattern is an extended regular
#			        expression (this is the default)
#	simple		-	pattern is a simple pattern
#				(i.e "[]?*" opperators only)
#	case		-	pattern is case sensitive
#	nocase		-	pattern is case insensitive
#
# "pattern" is the regex or simple pattern to match for. It
# may be split over sucessive lines iff the first chracter of
# the next line is white-space. White space on either side
# of the pattern is always ignored.
#
# If you develop an interesting filter, send it off to
# nntpcache-users@nntpcache.com !
#
Subject: 10001	nocase	(money|cash|dollar|\$.*\$|^\$|\$$)|
	(great |business).*(opportunity|venture)|
	(rich |succ?ess).*(fast|quick)|((free|f r e e) offer)|(spam )
