[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Moving spamassassin to another box



Adam D wrote:
> I have set up a new smtp server and would like to move my learned spamassassin mail to the new server so I don't have to start all over  from scratch and loose all the work.  I do't know if the learned mail is kept in /var/lib or just the /etc/spamassissn?

My guess (I don't run SpamAssassin directly, but through MailScanner) is
that it will be somewhere in /var/lib

Alternatively, you can just export the database and import it on the new
server.

On the old box do:

sa-learn --backup > sa_backup.db

Then copy the sa_backup.db to the new server. Then on the new server do:

sa-learn --restore sa_backup.db


Hope this helps,

-- 
George Borisov

DXSolutions Ltd

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: