Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: Jáder on April 03, 2012, 04:41:56 PM

Title: Learn As Spam: move to a new server
Post by: Jáder on April 03, 2012, 04:41:56 PM
I'm ready to upgrade a server from 7.5.1 to 8.0b7... but remembered I had a long time to teach server what each user thinks it's spam... now that would be lost when I migrate to server ? (It's a completly new install, just rsync data thru network!)

How I can move that info ?

Regards

Jáder
Title: Re: Learn As Spam: move to a new server
Post by: mmccarn on April 05, 2012, 02:17:21 PM
According to this page (http://www.zimbra.com/forums/administrators/28076-moving-spamassassin-bayes-scores.html), you can backup and restore your bayes data using sa-learn.

Title: Re: Learn As Spam: move to a new server
Post by: Jáder on April 05, 2012, 02:22:39 PM
Thanks by the info... I'll try it later... but for now I'll make a backup of configs ;)
EDIT: trying to figure out what are the parameters in SME world.
So far I found this:
[root@rinoceronte gustavo]# /usr/bin/sa-learn -p /etc/mail/spamassassin/local.cf --dbpath XXX --siteconfigpath /etc/sysconfig/spamassassin --backup
Not sure what is the dbpath... the real spamassassin db to backup.
More about this later.