Bayes database - can it be copied?

Mon Apr 7 03:24:27 IST 2003

>I think as long as you do it carefully, then you will probably be okay. The
>critical time is between the creation/update of the 2 db files.
>Say your machines are called mx10 and mx20, then something like this should
>do it pretty well. I'm assuming you are using scp, but just change the scp
>for rcp if that's what you are using.
>On mx20:
>cd ~root/.spamassassin
>mkdir new_files 2>/dev/null
>scp 'mx10:.spamassassin/*' new_files
>mv -f new_files/* .
>I do all the files at once to minimise the time when the db files aren't
>consistent with each other, as this isn't doing any proper locking. Just
>copying the files straight into ~/.spamassassin would make the
>"inconsistent" time a lot longer.

That seemed to work fine.  Thanks.

Now that I'm going to be feeding this box mass quantities of tasty spam, I
had a thought.  Does the bayesian stuff pay attention to the headers, e.g.
the From and To lines?  Since my E-mail address might be in the From line
someplace (Eudora puts it there even if you do a Redirect, after the
original From line..), the system won't start to think I'm a spammer since
I'm sending it lots of spam, will it? :-)

Mike Bacher / mike at
Use OptiGold ISP? Check out OptiSkin!

More information about the MailScanner mailing list