<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Verdana">Do i need to rebuild my bayes db?
Becuse after my rebuild a lot of spam are passing thru. I have restored
the bayes db from the backup again.</font></font><br>
<br>
Scott Silva skrev:
<blockquote cite="midervgjo$1bq$1@sea.gmane.org" type="cite">
<pre wrap="">Joakim Cefalk spake the following on 2/26/2007 12:29 PM:
</pre>
<blockquote type="cite">
<pre wrap="">What settings should i change more then Rebuild Bayes Every.
Scott Silva skrev:
</pre>
<blockquote type="cite">
<pre wrap="">Joakim Cefalk spake the following on 2/26/2007 4:39 AM:
</pre>
<blockquote type="cite">
<pre wrap="">Hello!
I have not rebuild my bayes db since i started to using it in 2005. I
have only 200 messages a day, about 30% i high scoring spam and 5-10%
low scoring.
What should i set my "Rebuild Bayes Every" to? I'm using MySQL as
storage for the bayes db.
Joakim
</pre>
</blockquote>
<pre wrap="">I rebuild daily, and it only takes a minute or so.
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->If you have never done a bayes rebuild, I would recommend you do a manual
rebuild first. (sa-learn --force-expire)
Then the following is what I have for a daily run;
# If you are using the Bayesian statistics engine on a busy server,
# you may well need to force a Bayesian database rebuild and expiry
# at regular intervals. This is measures in seconds.
# 1 day = 86400 seconds.
# To disable this feature set this to 0.
# Note: If you enable this feature, set "bayes_auto_expire 0" in
# spam.assasssin.prefs.conf which you will find in the same
# directory as this file.
Rebuild Bayes Every = 86400
# The Bayesian database rebuild and expiry may take a 2 or 3 minutes
# to complete. During this time you can either wait, or simply
# disable SpamAssassin checks until it has completed.
Wait During Bayes Rebuild = yes
I would recommend that you set "wait during bayes rebuild = yes"
so the expiry runs don't get killed by spamassassin accessing the bayes db.
</pre>
</blockquote>
</body>
</html>