# Add your own customisations to this file.  See 'man Mail::SpamAssassin::Conf'
# for details of what can be tweaked.
# 

# Revert CHARSET_FARAWAY scores to upsream default
score CHARSET_FARAWAY                0.80
score CHARSET_FARAWAY_BODY           2.06
score CHARSET_FARAWAY_HEADERS        1.00

# Lower Razor score (from 3.0) to let more mailinglist mail through
score RAZOR_CHECK		     2.0

# The below was found at http://flakshack.com/anti-spam/wiki/index.php?page=Debian

report_safe 0

use_bayes 1
bayes_path /var/lib/amavis/.spamassassin/bayes_seen

skip_rbl_checks 0
use_razor2 1
use_dcc 1
use_pyzor 1

dns_available yes

header LOCAL_RCVD Received =~ /.*\(\S+\.mydomain\.bogus\s+\[.*\]\)/
describe LOCAL_RCVD Received from local machine
score LOCAL_RCVD -50

## Optional Score Increases
score DCC_CHECK 4.000
score SPF_FAIL 10.000
score SPF_HELO_FAIL 10.000
score RAZOR2_CHECK 2.500
score BAYES_99 4.300
score BAYES_90 3.500
score BAYES_80 3.000

# Added by jsu2
# refer to http://flakshack.com/anti-spam/wiki/index.php?page=Testing
body LOCAL_TEST1 /myspamtest12341234/
describe LOCAL_TEST1 This is a unique phrase to trigger a positive score
score LOCAL_TEST1 50