1 # This is the right place to customize your installation of SpamAssassin.
3 # See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
6 # Only a small subset of options are listed below
8 ###########################################################################
10 # A 'contact address' users should contact for more info. (replaces
11 # _CONTACTADDRESS_ in the report template)
12 # report_contact youremailaddress@domain.tld
15 # Add *****SPAM***** to the Subject header of spam e-mails
17 # rewrite_header Subject *****SPAM*****
20 # Save spam messages as a message/rfc822 MIME attachment instead of
21 # modifying the original message (0: off, 2: use text/plain instead)
26 # Set which networks or hosts are considered 'trusted' by your mail
27 # server (i.e. not spammers)
29 # trusted_networks 212.17.35.
32 # Set file-locking method (flock is not safe over NFS, but is faster)
37 # Set the threshold at which a message is considered spam (default: 5.0)
42 # Use Bayesian classifier (default: 1)
47 # Bayesian classifier auto-learning (default: 1)
52 # Set headers which may provide inappropriate cues to the Bayesian
55 # bayes_ignore_header X-Bogosity
56 # bayes_ignore_header X-Spam-Flag
57 # bayes_ignore_header X-Spam-Status
59 # Increase the Bayes weighting
60 ifplugin Mail::SpamAssassin::Plugin::Bayes
61 score BAYES_00 0 0 -2.312 -2.599
62 score BAYES_05 0 0 -1.110 -1.110
63 score BAYES_20 0 0 -0.740 -0.740
64 score BAYES_40 0 0 -0.185 -0.185
65 score BAYES_50 0 0 0.001 0.001
66 score BAYES_60 0 0 1.0 1.0
67 score BAYES_80 0 0 2.0 2.0
68 score BAYES_95 0 0 4.0 4.0
69 score BAYES_99 0 0 5.5 5.5
72 whitelist_from SpamQuarantine@mit.edu
74 # Whether to decode non- UTF-8 and non-ASCII textual parts and recode
75 # them to UTF-8 before the text is given over to rules processing.
79 # Textual body scan limit (default: 50000)
81 # Amount of data per email text/* mimepart, that will be run through body
82 # rules. This enables safer and faster scanning of large messages,
83 # perhaps having very large textual attachments. There should be no need
84 # to change this well tested default.
86 # body_part_scan_size 50000
88 # Textual rawbody data scan limit (default: 500000)
90 # Amount of data per email text/* mimepart, that will be run through
93 # rawbody_part_scan_size 500000
95 # Some shortcircuiting, if the plugin is enabled
97 ifplugin Mail::SpamAssassin::Plugin::Shortcircuit
99 # default: strongly-whitelisted mails are *really* whitelisted now, if the
100 # shortcircuiting plugin is active, causing early exit to save CPU load.
101 # Uncomment to turn this on
103 # SpamAssassin tries hard not to launch DNS queries before priority -100.
104 # If you want to shortcircuit without launching unneeded queries, make
105 # sure such rule priority is below -100. These examples are already:
107 # shortcircuit USER_IN_WHITELIST on
108 # shortcircuit USER_IN_DEF_WHITELIST on
109 # shortcircuit USER_IN_ALL_SPAM_TO on
110 # shortcircuit SUBJECT_IN_WHITELIST on
112 # the opposite; blacklisted mails can also save CPU
114 # shortcircuit USER_IN_BLACKLIST on
115 # shortcircuit USER_IN_BLACKLIST_TO on
116 # shortcircuit SUBJECT_IN_BLACKLIST on
118 # if you have taken the time to correctly specify your "trusted_networks",
119 # this is another good way to save CPU
121 # shortcircuit ALL_TRUSTED on
123 # and a well-trained bayes DB can save running rules, too
125 # shortcircuit BAYES_99 spam
126 # shortcircuit BAYES_00 ham
128 endif # Mail::SpamAssassin::Plugin::Shortcircuit