• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1707
  • Last Modified:

Spamassassin Bayesian - Export HAM & SPAM from the one server to import to a new server

I had a Ubuntu server running postfix and MailScanner doing scanning of the mail using spamassassin.. We have been feeding it HAM/SPAM for over a year now and had a problem where we needed to reload the server.

I used a new HDD to load the server so I have the old HDD with all the files.. is there a way to get the HAM/SPAM from the old drive to teach the new server?

Any help is appreciated..
1 Solution

You need to locate where the bayesian database is kept: usually this can be determined from the SA config file.
Mount the filesystem from the old HDD, then copy the files (bayes_toks, bayes_seen, bayes_journal) from the old HD to the same location on your new configuration.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Worried about phishing attacks?

90% of attacks start with a phish. It’s critical that IT admins and MSSPs have the right security in place to protect their end users from these phishing attacks. Check out our latest feature brief for tips and tricks to keep your employees off a hackers line!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now