These classnotes are depreciated. As of 2005, I no longer teach the classes. Notes will remain online for legacy purposes
Classnotes | UNIX03 | RecentChanges | Preferences
Showing revision 1 /etc/spamassassin/local.cf
Edit the SpamAssassin config file. Recall that by default this is /etc/mail/spamassassin/local.cf, but for Debian and Red Hat, this goes into /etc/spamassassin/local.cf. Recall our configuration file from before, and configure accordingly:
rewrite_subject 1
report_safe 0
use_terse_report 0
use_bayes 1
bayes_path /var/lib/amavis/.spamassassin/bayes
auto_learn 1
skip_rbl_checks 1
use_razor2 1
use_dcc 1
use_pyzor 0
dcc_add_header 1
dns_available yes
header LOCAL_RCVD Received =~ /\S+\.domain\.com\s+\(.*\[.*\]\)/
describe LOCAL_RCVD Received from local machine
score LOCAL_RCVD -50
## Optional Score Increases
score DCC_CHECK 4.000
score RAZOR2_CHECK 2.500
score BAYES_99 4.300
score BAYES_90 3.500
score BAYES_80 3.000
Classnotes | UNIX03 | RecentChanges | Preferences
This page is read-only | View other revisions | View current revision Edited June 7, 2003 1:47 am (diff) Search: