use local caching nameserver for rbl
[hcoop/config/spamassassin.git] / local.cf
CommitLineData
cbd96d2c 1# This is the right place to customize your installation of SpamAssassin.
2#
3# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
4# tweaked.
5#
6# Only a small subset of options are listed below
7#
8###########################################################################
9
10# Add *****SPAM***** to the Subject header of spam e-mails
11#
12# rewrite_header Subject *****SPAM*****
13
14
15# Save spam messages as a message/rfc822 MIME attachment instead of
16# modifying the original message (0: off, 2: use text/plain instead)
17#
18# report_safe 1
19report_safe 0
20
21# Set which networks or hosts are considered 'trusted' by your mail
22# server (i.e. not spammers)
23#
24# trusted_networks 212.17.35.
25
26
27# Set file-locking method (flock is not safe over NFS, but is faster)
28#
29# lock_method flock
30
31
32# Set the threshold at which a message is considered spam (default: 5.0)
33#
34# required_score 5.0
35
36
37# Use Bayesian classifier (default: 1)
38#
0b96e8b3 39 use_bayes 1
cbd96d2c 40
41
42# Bayesian classifier auto-learning (default: 1)
43#
44# bayes_auto_learn 1
45
46
47# Set headers which may provide inappropriate cues to the Bayesian
48# classifier
49#
50# bayes_ignore_header X-Bogosity
51# bayes_ignore_header X-Spam-Flag
52# bayes_ignore_header X-Spam-Status
53
54# Location of bayes data
80e9c971 55bayes_path /var/local/lib/spamd/bayes
cbd96d2c 56
57# Fix bayes permissions
58bayes_file_mode 0770
59
80e9c971 60# enable txrep
61use_txrep 1
62txrep_autolearn 1
6e7ba7cf 63
80e9c971 64# Whether to decode non- UTF-8 and non-ASCII textual parts and recode
65# them to UTF-8 before the text is given over to rules processing.
66#
67# normalize_charset 1
68
69# Some shortcircuiting, if the plugin is enabled
70#
71ifplugin Mail::SpamAssassin::Plugin::Shortcircuit
72#
73# default: strongly-whitelisted mails are *really* whitelisted now, if the
74# shortcircuiting plugin is active, causing early exit to save CPU load.
75# Uncomment to turn this on
76#
77# shortcircuit USER_IN_WHITELIST on
78# shortcircuit USER_IN_DEF_WHITELIST on
79# shortcircuit USER_IN_ALL_SPAM_TO on
80# shortcircuit SUBJECT_IN_WHITELIST on
81
82# the opposite; blacklisted mails can also save CPU
83#
84# shortcircuit USER_IN_BLACKLIST on
85# shortcircuit USER_IN_BLACKLIST_TO on
86# shortcircuit SUBJECT_IN_BLACKLIST on
87
88# if you have taken the time to correctly specify your "trusted_networks",
89# this is another good way to save CPU
90#
91# shortcircuit ALL_TRUSTED on
92
93# and a well-trained bayes DB can save running rules, too
94#
95# shortcircuit BAYES_99 spam
96# shortcircuit BAYES_00 ham
97
98endif # Mail::SpamAssassin::Plugin::Shortcircuit
6e7ba7cf 99
95c34f53
CE
100# hcoop-change: use local caching nameserver for RBL
101dns_server 127.0.0.1