You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Bill Landry <bi...@pointshare.com> on 2004/08/29 23:30:03 UTC

Running AWL and bayes databases on independant server

Can some point me to documentation for running my AWL and bayes databases on
an independent server so that I can query and update a single set of
databases from multiple SA servers.

Thanks,

Bill


Re: Running AWL and bayes databases on independant server

Posted by Tobias von Koch <tv...@weltcharts.de>.
Hi,

On Sun, 29 Aug 2004 14:30:03 -0700, Bill Landry wrote:

BL> Can some point me to documentation for running my AWL and bayes
BL> databases on an independent server so that I can query and update a
BL> single set of databases from multiple SA servers.

This can be implemented by storing Bayes and AWL in a SQL database.

Mail-SpamAssassin-3.0.0/sql/README.bayes
Mail-SpamAssassin-3.0.0/sql/README.awl

tobias

-- 
=======================================================
 .deSecure, Bahnhofstr. 59, D-85296 Rohrbach, Germany
   Phone: +49 8442 964 164 -- Fax: +49 8442 964 163
=======================================================

Re: Running AWL and bayes databases on independant server

Posted by Tobias von Koch <tv...@weltcharts.de>.
On Sun, 29 Aug 2004 14:43:16 -0700, Bill Landry wrote:

BL> To further clarify, this is instead of running the databases on each
BL> of the local SA servers.  I see that I can do this if I use a SQL
BL> database, but is it possible with a standard Berkeley database using
BL> db_file?

Ah, ok... replied too fast. 

SpamAssassin safely locks the Bayes and AWL databases when it's
writing to them. The SA locking code is NFS-safe, so you could share the
database via NFS.

This slows down things a lot, though. I'd go for SQL.

tobias

-- 
=======================================================
 .deSecure, Bahnhofstr. 59, D-85296 Rohrbach, Germany
   Phone: +49 8442 964 164 -- Fax: +49 8442 964 163
=======================================================

Re: Running AWL and bayes databases on independant server

Posted by Bill Landry <bi...@pointshare.com>.
----- Original Message ----- 
From: "Bill Landry" <bi...@pointshare.com>

> Can some point me to documentation for running my AWL and bayes databases
on
> an independent server so that I can query and update a single set of
> databases from multiple SA servers.

To further clarify, this is instead of running the databases on each of the
local SA servers.  I see that I can do this if I use a SQL database, but is
it possible with a standard Berkeley database using db_file?

Bill