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

Posted on 2009-04-23
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 21

    Accepted 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.


    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    Suggested Solutions

    This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
    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…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!

    745 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

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now