[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


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

Posted on 2009-04-23
Medium Priority
Last Modified: 2013-12-09
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..
Question by:DMTechGrooup
1 Comment
LVL 22

Accepted Solution

robocat earned 2000 total points
ID: 24231390

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.


Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question