[Mimedefang] Bayes errors in logfile
Matthew Schumacher
matt.s at aptalaska.net
Fri Aug 12 11:55:32 EDT 2005
Cormack, Ken wrote:
> The bayes configuration lines in my sa-mimedefang.cf look like this:
>
> # Enable Bayes
> use_bayes 1
> use_bayes_rules 1
> bayes_path /var/spool/MIMEDefang/bayes
> bayes_file_mode 0700
> bayes_auto_learn 1
>
First of all, don't put the bayes databases in that dir if you are using
a tmpfs. That will cause it to be lost if you kick your server.
Second, the bdb bayes storage module is known to have locking issues.
It uses flat file locking which doesn't work so well on busy servers.
The spamassassin guys released 3.1.0rc1 this morning, which among other
things has FAR better bayes SQL support. Pgsql is 7x faster
(translation: usable) and the mysql stuff is 2x faster.
I recommend that you go to 3.1.0 and use a sql database for bayes, it
works a bit better. You can use mysql or pgsql. If you already have
one up and running then use it otherwise mysql is going to be faster. I
use pgsql because mysql doesn't cut it for my other db needs, and don't
want to run both.
schu
More information about the MIMEDefang
mailing list