I feel stupid. I found the answer. It was the --import function on sa-learn.
Is there a REAME file someplace? I installed this through perl's CPAN
interface. I don't have anything that provides general background.
----- Original Message -----
From: "Matt Kettler" <
mkettler_sa@...>
To: "Jack Gostl" <
gostl@...>
Cc: "spam" <
users@...>
Sent: Tuesday, November 14, 2006 9:37 PM
Subject: Re: Conversion
> Jack Gostl wrote:
>> I've just done a trial conversion from spamassassin 3.0.3 to 3.1.7 and
>> the bayes return codes aren't being set. I should point out that this
>> is a "new" machine, and its entirely possible that I missed moving
>> something.
>>
>> I installed the various CPAN pre-reqs, installed SpamAssassin, then
>> moved my bayes databases and auto_whitelist to the new machine.
>>
>> Can anyone make a suggestion as to the next step?
> Try running these two while su'ed to the user that your mail gets
> scanned as:
>
> sa-learn --sync
> sa-learn --dump magic
>
>
> The --sync should make sure any DB conversions that are needed get run.
> I don't think there's any between 3.0 and 3.1, but it's always good to
> run a --sync after an upgrade just in case the database schema changed.
>
> The --dump magic should print out the basic vital stats of your bayes
> DB.. Most importantly, the number of spam/nonspam messages and tokens in
> the bayes DB.
>