Initial version of hgr module
[hgr.git] / files / spamassassin / local.cf
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 rewrite_header Subject
14 add_header spam Flag _YESNOCAPS_
15 add_header all Status _YESNO_, score=_SCORE_ required_REQD_ tests=_TESTS_ autolearn=_AUTOLEARN_ version=_VERSION_
16
17
18 # Save spam messages as a message/rfc822 MIME attachment instead of
19 # modifying the original message (0: off, 2: use text/plain instead)
20 #
21 # report_safe 1
22
23
24 # Set which networks or hosts are considered 'trusted' by your mail
25 # server (i.e. not spammers)
26 #
27 # trusted_networks 212.17.35.
28
29
30 # Set file-locking method (flock is not safe over NFS, but is faster)
31 #
32 # lock_method flock
33
34
35 # Set the threshold at which a message is considered spam (default: 5.0)
36 #
37 # required_score 5.0
38
39
40 # Use Bayesian classifier (default: 1)
41 #
42 # use_bayes 1
43
44
45 # Bayesian classifier auto-learning (default: 1)
46 #
47 # bayes_auto_learn 1
48
49
50 # Set headers which may provide inappropriate cues to the Bayesian
51 # classifier
52 #
53 # bayes_ignore_header X-Bogosity
54 # bayes_ignore_header X-Spam-Flag
55 # bayes_ignore_header X-Spam-Status
56
57
58 # Some shortcircuiting, if the plugin is enabled
59 #
60 ifplugin Mail::SpamAssassin::Plugin::Shortcircuit
61 #
62 # default: strongly-whitelisted mails are *really* whitelisted now, if the
63 # shortcircuiting plugin is active, causing early exit to save CPU load.
64 # Uncomment to turn this on
65 #
66 # shortcircuit USER_IN_WHITELIST on
67 # shortcircuit USER_IN_DEF_WHITELIST on
68 # shortcircuit USER_IN_ALL_SPAM_TO on
69 # shortcircuit SUBJECT_IN_WHITELIST on
70
71 # the opposite; blacklisted mails can also save CPU
72 #
73 # shortcircuit USER_IN_BLACKLIST on
74 # shortcircuit USER_IN_BLACKLIST_TO on
75 # shortcircuit SUBJECT_IN_BLACKLIST on
76
77 # if you have taken the time to correctly specify your "trusted_networks",
78 # this is another good way to save CPU
79 #
80 # shortcircuit ALL_TRUSTED on
81
82 # and a well-trained bayes DB can save running rules, too
83 #
84 # shortcircuit BAYES_99 spam
85 # shortcircuit BAYES_00 ham
86
87 endif # Mail::SpamAssassin::Plugin::Shortcircuit
88