| 1 |
# This is the right place to customize your installation of SpamAssassin.
|
| 2 |
# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be tweaked.
|
| 3 |
#
|
| 4 |
###########################################################################
|
| 5 |
#
|
| 6 |
# (/org/bugs.debian.org/spamassassin/spamc)
|
| 7 |
|
| 8 |
# HEY YOU. YES YOU.
|
| 9 |
# RUN spamassassin --lint!
|
| 10 |
|
| 11 |
report_safe 1
|
| 12 |
#defang_mime 0
|
| 13 |
required_hits 4
|
| 14 |
version_tag bugs.debian.org-2005-01-02
|
| 15 |
# just for testing!
|
| 16 |
#always_add_report 1
|
| 17 |
|
| 18 |
# cjwatson 2004-04-09 sorry, but we're stalling on Razor all the time at the
|
| 19 |
# moment and it's causing bad delays; turning off until spamscan is fixed to
|
| 20 |
# be multiprocess
|
| 21 |
# 2005-10-30 blarson turn back on finally
|
| 22 |
use_razor2 1
|
| 23 |
|
| 24 |
# testing only --joy, 2003-09-12
|
| 25 |
# 2005-01-28 blarson -- doesn't seem to be useful, disabling
|
| 26 |
#ok_locales en
|
| 27 |
#score CHARSET_FARAWAY 0.03
|
| 28 |
#score HTML_CHARSET_FARAWAY 0.005
|
| 29 |
#score MIME_CHARSET_FARAWAY 0.02
|
| 30 |
ok_locales all
|
| 31 |
score CHARSET_FARAWAY 0
|
| 32 |
score HTML_CHARSET_FARAWAY 0
|
| 33 |
score MIME_CHARSET_FARAWAY 0
|
| 34 |
|
| 35 |
#bayes_expiry_scan_count 20000
|
| 36 |
|
| 37 |
loadplugin Mail::SpamAssassin::Plugin::Bayes
|
| 38 |
# blarson 2005-01-28 -- try a bigger datebase
|
| 39 |
bayes_expiry_max_db_size 3000000
|
| 40 |
# may solve locking problem at cost of slower updates
|
| 41 |
# bayes_learn_to_journal 1
|
| 42 |
|
| 43 |
# make sure bayes is on
|
| 44 |
use_bayes 1
|
| 45 |
|
| 46 |
# Cope with refiltered mail
|
| 47 |
bayes_ignore_header X-Spam-Checker-Version
|
| 48 |
bayes_ignore_header X-Spam-Flag
|
| 49 |
bayes_ignore_header X-Spam-Level
|
| 50 |
bayes_ignore_header X-Spam-Status
|
| 51 |
# blarson 2009-04-09
|
| 52 |
# if we can't use Ironport as spam sign, at least don't treat it as non-spam
|
| 53 |
bayes_ignore_header X-IronPort-Anti-Spam-Filtered
|
| 54 |
bayes_ignore_header X-IronPort-Anti-Spam-Result
|
| 55 |
bayes_ignore_header X-IronPort-AV
|
| 56 |
# blarson 2009-05-22 google spam
|
| 57 |
bayes_ignore_header DKIM-Signature
|
| 58 |
bayes_ignore_header DomainKey-Signature
|
| 59 |
# blarson 2010-02-23
|
| 60 |
bayes_ignore_header X-Greylist
|
| 61 |
|
| 62 |
|
| 63 |
include bayes_configuration
|
| 64 |
|
| 65 |
# a bit cautious (cf. #188703)
|
| 66 |
# blarson -- ajust again, now that it's trained 2004-05-13
|
| 67 |
# blarson 2004-10-22
|
| 68 |
# blarson 2006-10-29 2006-11-17 2007-11-06
|
| 69 |
score BAYES_00 -4
|
| 70 |
score BAYES_05 -2
|
| 71 |
score BAYES_20 -1
|
| 72 |
score BAYES_40 -0.2
|
| 73 |
score BAYES_50 1
|
| 74 |
score BAYES_60 2
|
| 75 |
score BAYES_80 3
|
| 76 |
score BAYES_95 4
|
| 77 |
score BAYES_99 4.5
|
| 78 |
|
| 79 |
# add a bayes header
|
| 80 |
add_header all Bayes score:_BAYES_ _TOKENSUMMARY_ spammytokens:_SPAMMYTOKENS(5)_ hammytokens:_HAMMYTOKENS(5)_
|
| 81 |
|
| 82 |
# blarson 2005-01-28
|
| 83 |
clear_trusted_networks
|
| 84 |
# the /24 around spohr, master, and gluck
|
| 85 |
# something is already adding 127; remove it.
|
| 86 |
trusted_networks 128.193.0.0/24 146.82.138.0/24 192.25.206.0/24 140.211.166.0/24
|
| 87 |
|
| 88 |
# local hack to deal with missing plugin issues
|
| 89 |
|
| 90 |
loadplugin Mail::SpamAssassin::Plugin::URIDNSBL
|
| 91 |
loadplugin Mail::SpamAssassin::Plugin::Hashcash
|
| 92 |
loadplugin Mail::SpamAssassin::Plugin::SPF
|
| 93 |
loadplugin Mail::SpamAssassin::Plugin::Pyzor
|
| 94 |
loadplugin Mail::SpamAssassin::Plugin::Razor2
|
| 95 |
loadplugin Mail::SpamAssassin::Plugin::SpamCop
|
| 96 |
loadplugin Mail::SpamAssassin::Plugin::AWL
|
| 97 |
loadplugin Mail::SpamAssassin::Plugin::AutoLearnThreshold
|
| 98 |
loadplugin Mail::SpamAssassin::Plugin::WhiteListSubject
|
| 99 |
loadplugin Mail::SpamAssassin::Plugin::MIMEHeader
|
| 100 |
loadplugin Mail::SpamAssassin::Plugin::ReplaceTags
|
| 101 |
loadplugin Mail::SpamAssassin::Plugin::Check
|
| 102 |
loadplugin Mail::SpamAssassin::Plugin::HTTPSMismatch
|
| 103 |
loadplugin Mail::SpamAssassin::Plugin::URIDetail
|
| 104 |
loadplugin Mail::SpamAssassin::Plugin::BodyEval
|
| 105 |
loadplugin Mail::SpamAssassin::Plugin::DNSEval
|
| 106 |
loadplugin Mail::SpamAssassin::Plugin::HTMLEval
|
| 107 |
loadplugin Mail::SpamAssassin::Plugin::HeaderEval
|
| 108 |
loadplugin Mail::SpamAssassin::Plugin::MIMEEval
|
| 109 |
loadplugin Mail::SpamAssassin::Plugin::RelayEval
|
| 110 |
loadplugin Mail::SpamAssassin::Plugin::URIEval
|
| 111 |
loadplugin Mail::SpamAssassin::Plugin::WLBLEval
|
| 112 |
loadplugin Mail::SpamAssassin::Plugin::VBounce
|
| 113 |
loadplugin Mail::SpamAssassin::Plugin::Rule2XSBody
|
| 114 |
loadplugin Mail::SpamAssassin::Plugin::ImageInfo
|
| 115 |
|
| 116 |
|
| 117 |
|
| 118 |
# blarson 2004-03-20
|
| 119 |
# Disable most DNSBLs -- overhead to high
|
| 120 |
# blarson 2005-01-28 try reducing timeout while adding spamcop back
|
| 121 |
# blarson 2005-10-29 adding some back now we are multi-threaded
|
| 122 |
# blarson 2007-09-14
|
| 123 |
rbl_timeout 15
|
| 124 |
|
| 125 |
# blarson 2007-09-14
|
| 126 |
loadplugin Mail::SpamAssassin::Plugin::URIDNSBL
|
| 127 |
# uridnsbl_timeout 5
|
| 128 |
rbl_timeout 5
|
| 129 |
|
| 130 |
include common/blacklists
|
| 131 |
|
| 132 |
include common/common_rbl
|
| 133 |
|
| 134 |
include common/common_spam
|
| 135 |
|
| 136 |
include common/bts_spam
|
| 137 |
|
| 138 |
include common/debian_specific
|
| 139 |
|
| 140 |
include common/bts_specific
|
| 141 |
|
| 142 |
include common/bts_scores
|