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# A 'contact address' users should contact for more info. (replaces 11# _CONTACTADDRESS_ in the report template) 12# report_contact youremailaddress@domain.tld 13 14 15# Add *****SPAM***** to the Subject header of spam e-mails 16# 17# rewrite_header Subject *****SPAM***** 18 19 20# Save spam messages as a message/rfc822 MIME attachment instead of 21# modifying the original message (0: off, 2: use text/plain instead) 22# 23# report_safe 1 24 25 26# Set which networks or hosts are considered 'trusted' by your mail 27# server (i.e. not spammers) 28# 29# trusted_networks 212.17.35. 30 31 32# Set file-locking method (flock is not safe over NFS, but is faster) 33# 34# lock_method flock 35 36 37# Set the threshold at which a message is considered spam (default: 5.0) 38# 39# required_score 5.0 40 41 42# Use Bayesian classifier (default: 1) 43# 44# use_bayes 1 45 46 47# Bayesian classifier auto-learning (default: 1) 48# 49# bayes_auto_learn 1 50 51 52# Set headers which may provide inappropriate cues to the Bayesian 53# classifier 54# 55# bayes_ignore_header X-Bogosity 56# bayes_ignore_header X-Spam-Flag 57# bayes_ignore_header X-Spam-Status 58 59 60# Whether to decode non- UTF-8 and non-ASCII textual parts and recode 61# them to UTF-8 before the text is given over to rules processing. 62# 63# normalize_charset 1 64 65# Textual body scan limit (default: 50000) 66# 67# Amount of data per email text/* mimepart, that will be run through body 68# rules. This enables safer and faster scanning of large messages, 69# perhaps having very large textual attachments. There should be no need 70# to change this well tested default. 71# 72# body_part_scan_size 50000 73 74# Textual rawbody data scan limit (default: 500000) 75# 76# Amount of data per email text/* mimepart, that will be run through 77# rawbody rules. 78# 79# rawbody_part_scan_size 500000 80 81# Some shortcircuiting, if the plugin is enabled 82# 83ifplugin Mail::SpamAssassin::Plugin::Shortcircuit 84# 85# default: strongly-whitelisted mails are *really* whitelisted now, if the 86# shortcircuiting plugin is active, causing early exit to save CPU load. 87# Uncomment to turn this on 88# 89# SpamAssassin tries hard not to launch DNS queries before priority -100. 90# If you want to shortcircuit without launching unneeded queries, make 91# sure such rule priority is below -100. These examples are already: 92# 93# shortcircuit USER_IN_WHITELIST on 94# shortcircuit USER_IN_DEF_WHITELIST on 95# shortcircuit USER_IN_ALL_SPAM_TO on 96# shortcircuit SUBJECT_IN_WHITELIST on 97 98# the opposite; blacklisted mails can also save CPU 99# 100# shortcircuit USER_IN_BLACKLIST on 101# shortcircuit USER_IN_BLACKLIST_TO on 102# shortcircuit SUBJECT_IN_BLACKLIST on 103 104# if you have taken the time to correctly specify your "trusted_networks", 105# this is another good way to save CPU 106# 107# shortcircuit ALL_TRUSTED on 108 109# and a well-trained bayes DB can save running rules, too 110# 111# shortcircuit BAYES_99 spam 112# shortcircuit BAYES_00 ham 113 114endif # Mail::SpamAssassin::Plugin::Shortcircuit 115