Alejandro Lengua wrote: >Hi! > >I am installing a new email server with spamassin included, >but I would like to extract the database I have created >in my old spamassassin bayes database and copy it >to the new installation. > >Is this possible?, what is the easier way to do this? >Of course both SA intallations are version 3.03 > >Thanks in advance >Alejandro > > > If both are running a 3.0+ version, then you should be able to run sa-learn --backup > backup.txt on the old machine and then sa-learn --restore=backup.txt on the new machine. man sa-learn for more information. If you have more than one DB (ie not sitewide) then you'll have to do this once for each user.
You might also be able to get away with just copying the bayes_* files from one machine to another, but you need to be sure it's running the same versions of everything. Michael
signature.asc
Description: OpenPGP digital signature