X-Git-Url: https://git.hcoop.net/hcoop/config/spamassassin.git/blobdiff_plain/6e7ba7cfa77a4e8ce7c20f330d1c82ab7a8135c5..31f7d64d2f078de9877026b5bb514b0e9c7311d2:/local.cf diff --git a/local.cf b/local.cf index d4a3c0e..2ed874c 100644 --- a/local.cf +++ b/local.cf @@ -36,7 +36,7 @@ report_safe 0 # Use Bayesian classifier (default: 1) # -# use_bayes 1 + use_bayes 1 # Bayesian classifier auto-learning (default: 1) @@ -52,19 +52,50 @@ report_safe 0 # bayes_ignore_header X-Spam-Status # Location of bayes data -bayes_path /var/local/lib/spamd/.spamassassin/bayes +#bayes_path /var/local/lib/spamd/bayes # Fix bayes permissions bayes_file_mode 0770 -# hcoop: auto-whitelist lock -auto_whitelist_path /var/local/lib/spamd/.spamassassin/auto-whitelist +# enable txrep +use_txrep 1 +txrep_autolearn 1 -# Directives from old installation on fyodor +# Whether to decode non- UTF-8 and non-ASCII textual parts and recode +# them to UTF-8 before the text is given over to rules processing. +# +# normalize_charset 1 + +# Some shortcircuiting, if the plugin is enabled +# +ifplugin Mail::SpamAssassin::Plugin::Shortcircuit +# +# default: strongly-whitelisted mails are *really* whitelisted now, if the +# shortcircuiting plugin is active, causing early exit to save CPU load. +# Uncomment to turn this on +# +# shortcircuit USER_IN_WHITELIST on +# shortcircuit USER_IN_DEF_WHITELIST on +# shortcircuit USER_IN_ALL_SPAM_TO on +# shortcircuit SUBJECT_IN_WHITELIST on + +# the opposite; blacklisted mails can also save CPU +# +# shortcircuit USER_IN_BLACKLIST on +# shortcircuit USER_IN_BLACKLIST_TO on +# shortcircuit SUBJECT_IN_BLACKLIST on + +# if you have taken the time to correctly specify your "trusted_networks", +# this is another good way to save CPU +# +# shortcircuit ALL_TRUSTED on + +# and a well-trained bayes DB can save running rules, too +# +# shortcircuit BAYES_99 spam +# shortcircuit BAYES_00 ham + +endif # Mail::SpamAssassin::Plugin::Shortcircuit -# clinton: disabling these for now because they may have helped with -# an ancient spamd, but probably won't do anything nowadays -#score PYZOR_CHECK 0 -#score URIBL_SBL 1.096 -#score DNS_FROM_RFC_POST 0.5 -#score FORGED_HOTMAIL_RCVD 0.5 +# hcoop-change: use local caching nameserver for RBL +dns_server 127.0.0.1 \ No newline at end of file