Hi to everybody. I'm migrating a mailserver from an old to a new mailserver. The new mailserver is based on ISPConfig 3.0.6.1. I would like to migrate what spamassassin learnt in the past from the old mailserver to the new one. Now the question: - The 2 spamassassin versions are different. Is it a problem? - Can I just migrate the database with this commands??? Code: sa-learn --backup > sadb.bkp sa-learn --restore ./sadb.bkp -how to migrate SpamAssasins Auto White List and all others SpamAssassins databases? Thanks Michele
Hi till, thanks for your reply. It should work, but I guess it backup just the Bayes database... and I would like to migrate to the new server also the white/black list, etc... How can I do it? Thanks Michele
ISPConfig 3 uses amavisd, so your old blacklist and whiltelist are most likely not compatible. You might have to write a migration script for your blacklist which inserts them in the correct format into the mysql database.
Also in the old server I'm using amavis with spamassassin... but I don't know how to migrate this data...
If you use it with mysql binding, then you can copy the records into the new database as ispconfig uses the default database layout of amavis. If you dont use mysql bindings for whitelists, then you might have to write a migration script.
Hi till, sorry, I wasn't clear. What I want to migrate is not the whitelist, but the auto-whitelist (so that the new server is already learnt about that)
Basically the file that I want to copy across is /root/.spamassassin/auto-whitelist I literaly copy across this file to the ISPConfig server and rebooted amavis and spamassassin... and I hope now they can read it... Is it correct? There is a way to check if spamassassin is using this new file? Thanks Michele