]> git.donarmstrong.com Git - spamassassin_config.git/blobdiff - bugs/user_prefs
* fix descibe typo
[spamassassin_config.git] / bugs / user_prefs
index 8188d4364eb147b18542f0c64dfa2538aabed997..17bba9aed7617cf688a405d448f91185403c39ec 100644 (file)
@@ -8,7 +8,6 @@
 # HEY YOU. YES YOU.
 # RUN spamassassin --lint!
 
 # HEY YOU. YES YOU.
 # RUN spamassassin --lint!
 
-rewrite_subject                0
 report_safe            1
 #defang_mime           0
 required_hits          4
 report_safe            1
 #defang_mime           0
 required_hits          4
@@ -25,26 +24,24 @@ use_razor2          1
 # testing only --joy, 2003-09-12
 # 2005-01-28 blarson -- doesn't seem to be useful, disabling
 #ok_locales              en
 # testing only --joy, 2003-09-12
 # 2005-01-28 blarson -- doesn't seem to be useful, disabling
 #ok_locales              en
-#ok_languages            en
 #score CHARSET_FARAWAY           0.03
 #score CHARSET_FARAWAY           0.03
-#score CHARSET_FARAWAY_HEADERS   0.02
 #score HTML_CHARSET_FARAWAY      0.005
 #score MIME_CHARSET_FARAWAY      0.02
 #score HTML_CHARSET_FARAWAY      0.005
 #score MIME_CHARSET_FARAWAY      0.02
-#score UNDESIRED_LANGUAGE_BODY   0.03
 ok_locales              all
 ok_locales              all
-ok_languages            all
 score CHARSET_FARAWAY          0
 score CHARSET_FARAWAY          0
-score CHARSET_FARAWAY_HEADERS  0
 score HTML_CHARSET_FARAWAY     0
 score MIME_CHARSET_FARAWAY     0
 score HTML_CHARSET_FARAWAY     0
 score MIME_CHARSET_FARAWAY     0
-score UNDESIRED_LANGUAGE_BODY  0
 
 #bayes_expiry_scan_count 20000
 
 
 #bayes_expiry_scan_count 20000
 
+loadplugin Mail::SpamAssassin::Plugin::Bayes
 # blarson 2005-01-28 -- try a bigger datebase
 # blarson 2005-01-28 -- try a bigger datebase
-bayes_expiry_max_db_size 300000
+bayes_expiry_max_db_size 3000000
 # may solve locking problem at cost of slower updates
 # may solve locking problem at cost of slower updates
-bayes_learn_to_journal 1
+# bayes_learn_to_journal       1
+
+# make sure bayes is on
+use_bayes 1
 
 # Cope with refiltered mail
 bayes_ignore_header X-Spam-Checker-Version
 
 # Cope with refiltered mail
 bayes_ignore_header X-Spam-Checker-Version
@@ -52,37 +49,74 @@ bayes_ignore_header X-Spam-Flag
 bayes_ignore_header X-Spam-Level
 bayes_ignore_header X-Spam-Status
 
 bayes_ignore_header X-Spam-Level
 bayes_ignore_header X-Spam-Status
 
+include bayes_configuration
+
 # a bit cautious (cf. #188703)
 # blarson -- ajust again, now that it's trained 2004-05-13
 # blarson 2004-10-22
 # a bit cautious (cf. #188703)
 # blarson -- ajust again, now that it's trained 2004-05-13
 # blarson 2004-10-22
-# blarson 2006-10-29 2006-11-17
-auto_learn_threshold_nonspam  -5
-score BAYES_00 -3
-score BAYES_01 -2
-score BAYES_10 -1.5
+# blarson 2006-10-29 2006-11-17 2007-11-06
+score BAYES_00 -4
+score BAYES_05 -2
 score BAYES_20 -1
 score BAYES_20 -1
-score BAYES_30 -0.5
 score BAYES_40 -0.2
 score BAYES_40 -0.2
-score BAYES_44 -0.1
-score BAYES_50 0.5
-score BAYES_56 1
+score BAYES_50 1
 score BAYES_60 2
 score BAYES_60 2
-score BAYES_70 2.5
 score BAYES_80 3
 score BAYES_80 3
-score BAYES_90 4
+score BAYES_95 4
 score BAYES_99 4.5
 
 score BAYES_99 4.5
 
-include common/bts_specific
+# add a bayes header
+add_header all Bayes score:_BAYES_ _TOKENSUMMARY_ spammytokens:_SPAMMYTOKENS(5)_ hammytokens:_HAMMYTOKENS(5)_
+
 # blarson 2005-01-28
 clear_trusted_networks
 # the /24 around spohr, master, and gluck
 # blarson 2005-01-28
 clear_trusted_networks
 # the /24 around spohr, master, and gluck
-trusted_networks 127.0.0.1 128.193.0.0/24 146.82.138.0/24 192.25.206.0/24 140.211.166.0/24
+# something is already adding 127; remove it.
+trusted_networks 128.193.0.0/24 146.82.138.0/24 192.25.206.0/24 140.211.166.0/24
+
+# local hack to deal with missing plugin issues
+
+loadplugin Mail::SpamAssassin::Plugin::URIDNSBL
+loadplugin Mail::SpamAssassin::Plugin::Hashcash
+loadplugin Mail::SpamAssassin::Plugin::SPF
+loadplugin Mail::SpamAssassin::Plugin::Pyzor
+loadplugin Mail::SpamAssassin::Plugin::Razor2
+loadplugin Mail::SpamAssassin::Plugin::SpamCop
+loadplugin Mail::SpamAssassin::Plugin::AWL
+loadplugin Mail::SpamAssassin::Plugin::AutoLearnThreshold
+loadplugin Mail::SpamAssassin::Plugin::WhiteListSubject
+loadplugin Mail::SpamAssassin::Plugin::MIMEHeader
+loadplugin Mail::SpamAssassin::Plugin::ReplaceTags
+loadplugin Mail::SpamAssassin::Plugin::Check
+loadplugin Mail::SpamAssassin::Plugin::HTTPSMismatch
+loadplugin Mail::SpamAssassin::Plugin::URIDetail
+loadplugin Mail::SpamAssassin::Plugin::BodyEval
+loadplugin Mail::SpamAssassin::Plugin::DNSEval
+loadplugin Mail::SpamAssassin::Plugin::HTMLEval
+loadplugin Mail::SpamAssassin::Plugin::HeaderEval
+loadplugin Mail::SpamAssassin::Plugin::MIMEEval
+loadplugin Mail::SpamAssassin::Plugin::RelayEval
+loadplugin Mail::SpamAssassin::Plugin::URIEval
+loadplugin Mail::SpamAssassin::Plugin::WLBLEval
+loadplugin Mail::SpamAssassin::Plugin::VBounce
+loadplugin Mail::SpamAssassin::Plugin::Rule2XSBody
+loadplugin Mail::SpamAssassin::Plugin::ImageInfo
+
+
 
 # blarson 2004-03-20
 # Disable most DNSBLs -- overhead to high 
 # blarson 2005-01-28 try reducing timeout while adding spamcop back
 # blarson 2005-10-29 adding some back now we are multi-threaded
 
 # blarson 2004-03-20
 # Disable most DNSBLs -- overhead to high 
 # blarson 2005-01-28 try reducing timeout while adding spamcop back
 # blarson 2005-10-29 adding some back now we are multi-threaded
-rbl_timeout 10
+# blarson 2007-09-14
+rbl_timeout 15
+
+# blarson 2007-09-14
+loadplugin Mail::SpamAssassin::Plugin::URIDNSBL
+# uridnsbl_timeout     5
+rbl_timeout            5
+
+include common/blacklists
 
 include common/common_rbl
 
 
 include common/common_rbl