You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by fe...@apache.org on 2006/03/10 01:43:49 UTC

svn commit: r384658 - /spamassassin/trunk/sa-update.raw

Author: felicity
Date: Thu Mar  9 16:43:46 2006
New Revision: 384658

URL: http://svn.apache.org/viewcvs?rev=384658&view=rev
Log:
disable bayes when linting in sa-update so that the default config version won't sync the journal, expire the db, etc.

Modified:
    spamassassin/trunk/sa-update.raw

Modified: spamassassin/trunk/sa-update.raw
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/sa-update.raw?rev=384658&r1=384657&r2=384658&view=diff
==============================================================================
--- spamassassin/trunk/sa-update.raw (original)
+++ spamassassin/trunk/sa-update.raw Thu Mar  9 16:43:46 2006
@@ -1073,6 +1073,10 @@
     LOCAL_STATE_DIR     => $LOCAL_STATE_DIR,
   });
 
+  # need to kluge disabling bayes since it may try to expire the DB, and
+  # without the proper config it's not going to be good.
+  $spamtest->{conf}->{use_bayes} = 0;
+
   my $res = $spamtest->lint_rules();
   $spamtest->finish();