Keeping various bogofilter databases in sync.

Tom Anderson tanderso at oac-design.com
Sat Feb 19 10:03:29 CET 2005


On Fri, 2005-02-18 at 17:03, David Relson wrote:
> On Fri, 18 Feb 2005 15:20:55 +0100
> Lars Bungum wrote:
> 
> > Hiyas!
> > 
> > I have found out that one bogofilter database maintained at one server 
> > performs well also on other servers, with completely different mail.  
> > Therefore I would like to synchronize the "main" database with various 
> > others in a safe way.
> > 
> > How  can I best do this?  If I just rsync the database file, can this go 
> > wrong somehow?  I mean  given that all versions are the same. 
> > 
> > --lars
> 
> Hello Lars,
> 
> I'm not surprised to hear that 1 server's wordlist does a good job on
> your other servers.  Time spent working with spam has shown some common
> elements and time working with bogofilter shows it's good at classifying
> messages based on that kind of informatin.
> 
> For copying wordlists and minimizing the likelihood of problems, I'd
> suggest using bf_copy to duplicate the database environment, then rsync
> to copy it to the new machine, then mv to get the new directory in the

Wouldn't this also be a good situation to use the multiple wordlist
functionality?  Just point to the other server for tokens not in the
local wordlist?

Tom





More information about the Bogofilter mailing list