Mailing List Archive

Move Bayes???
I've been testing various mail server options and programs for a couple of months, and as part of the process have tweaked a very nicely functioning Spamassassin install. I'm running SA 2.63 with various rule additions thanks to all those involved with hairy, evil, popcorn pox chicken etc. sets. Thanks for all your fantastic work. I also have Razor, Pyzor, DCC and Bayes up and running. I will be building up a new server an about six weeks, and can easily copy and paste config files to duplicate everything config and rule-wise, BUT I'm curious if anybody can tell me about potential issues moving my Bayes database. It's becoming very accurate, to the point that I moved up the point value in my local config for the Bayes_99 test. I don't think I've ever seen a false positive at that level. So, can I just do the install, copy the db files to their new home, and crank it all up, or is it a more complicated process?

Thanks

Ben
Re: Move Bayes??? [ In reply to ]
On Thu, Feb 05, 2004 at 03:42:40PM -0500, Ben Hanson wrote:
> seen a false positive at that level. So, can I just do the install,
> copy the db files to their new home, and crank it all up, or is it a
> more complicated process?

In theory, yes. You'll want to either 1) have a compatible DB_File/libdb
install on the new box, or 2) upgrade and make sure to run "db_upgrade"
before launching SA.

I would move the DB's, then do a "sa-learn --dump magic" to see if it
can read the DB. If it can't, look at the db_upgrade bit. If it can,
you're fine. :)

--
Randomly Generated Tagline:
Well, that's more-or-less what I was saying, though obviously addition
is a little more cosmic than the bitwise operators.
-- Larry Wall in <199709051808.LAA01780@wall.org>