Merging 2 Bayes Databases

Paul Houselander housey at sme-ecom.co.uk
Tue Jun 27 12:49:36 IST 2006


Hi

Ive got 2 front end Mailscanner machines and was looking at getting them to
share a bayes database.

Ive set up a mysql bayes and tested with both machines and it works fine.

What I want to do is dump both the existing Bayes DB's into it, is it as
simple as doing

sa-learn -p /etc/MailScanner/spam.assassin.prefs.conf --backup > host1.txt
sa-learn -p /etc/MailScanner/spam.assassin.prefs.conf --backup > host2.txt

Add the entries to spam.assassin.prefs.conf to use the mysql bayes and then
run

sa-learn -p /etc/MailScanner/spam.assassin.prefs.conf --restore host1.txt
sa-learn -p /etc/MailScanner/spam.assassin.prefs.conf --restore host2.txt

I dont know if merging 2 bayes databases from 2 different machines would
cause any problems?

Cheers

Paul





More information about the MailScanner mailing list