base v342 config
[hcoop/config/spamassassin.git] / local.cf
index 95f188f..2ed874c 100644 (file)
--- 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,13 +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
 
-# Directives from old installation on fyodor
-score PYZOR_CHECK 0
-score URIBL_SBL 1.096
-score DNS_FROM_RFC_POST 0.5
-score FORGED_HOTMAIL_RCVD 0.5
+# enable txrep
+use_txrep 1
+txrep_autolearn 1
+
+#   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
+
+# hcoop-change: use local caching nameserver for RBL
+dns_server 127.0.0.1
\ No newline at end of file