# Your options should be saved to $HOME/.spamtestbuddy

# Emails start with a score of 0. Define overall threshold for OVER/UNDER
# decision. Avoid round numbers, due to floating point comparisons
# (e.g. 1 + 0.9999 does not exceed 2)

SpamThreshold	1.5

# The first IP address found within square brackets on Received lines will
# be used. Indicate network(s) to skip, so that local hops or forwarding
# servers are ignored. Use a comma separated list of full or partial IP
# addresses. Each will be compared in string style, so it's best to include
# the dots at the end of the network (e.g. 24.19. instead of 24.19)
# The parsed IP is output in X-SpamTestBuddy headers. Currently used by
# TestDnsProblems amd TestDNSBL. The list must be under 1000 chars.

SkipReceived	127., 192.168.

# TESTS: each matching test increases (+) or decreases (-) score by 1 or by
# the floating point value [0, 1] in the case of TestHeaderFloat. Each test
# is given a name (arbitrary, shown in all capitals) which is output upon
# match in the X-SpamTestBuddy header.

# Test for DNS problems. Matches if there is no reverse DNS, or if forward
# and reverse DNS don't match. Beware that non-functioning DNS on the local
# system will trigger this test to match on every email sent through.

+TestDnsProblems	DNSPROBLEM

# Test a header for substring match (case sensitive). Must match exactly from
# the start of the line to the end of the parameter below. e.g. CRM-114
# The header parameter can contain whitespace and ends at the newline

+TestHeaderSubstr	CRM114		X-CRM114-Status: SPAM

# Test a header for "Yes/True/Spam" (case insensitive) on the right. e.g QSF.
# The header parameter (case sensitive) can not contain whitespace.

+TestHeaderYes		QSF		X-Spam:

# Test an email header for a floating point number between 0 and 1.0001
# The first number found in the header is added to the score (if ignored if > 1).
The header parameter (case sensitive) can not contain whitespace.

+TestHeaderFloat	SPAMPROBE	X-SpamProbe:
+TestHeaderFloat	DSPAM		X-DSPAM-Probability:

# Test the IP address parsed (see SkipReceived) against DNS based blocklists.
# A whitelist can be used as shown by associating a negative score on match.
# These are light weight remote database queries. Any 127.0.x.y response is
# taken as a match. Testing DNSBLs takes time and could even wait and timeout
# if you use the wrong DNS zone. Failure to get a reply does not impact the
# score at all. SpamTestBuddy does not cache lookups.

# For options, check out http://www.spamlinks.net/filter-dnsbl-lists.htm
# There are many useful lists available with different policies. Don't go
# overboard and query too many though, because this adds lookup delays and
# also takes away weight from your content reading statistical filters.
# Included here are Zen (Spamhaus's preferred combined zone in 2007),
# WPBL (user submitted spam sightings), and dnswl (whitelist known servers).

+TestDNSBL	ZEN	zen.spamhaus.org
+TestDNSBL	WPBL	db.wpbl.info
-TestDNSBL	DNSWL	list.dnswl.org

