I messed up Bayes
Mark Sapiro
mark at msapiro.net
Sat Apr 23 16:51:02 IST 2011
On 11:59 AM, Dimitri Yioulos wrote:
>
> SA Learn: config: configuration
> file "/etc/mail/spamassassin/20_advance_fee.cf"
> requires version 3.003001 of SpamAssassin, but
> this is code version 3.002005. Maybe you need to
> use the -C switch, or remove the old config
> files? Skipping this file
> at /usr/lib/perl5/vendor_perl/5.8.0/Mail/SpamAssassin/Conf/Parser.pm
> line 372.
It looks like you are using version 3.3.1 rules with version 3.2.5.
> That's just a snippet; every rule does the same.
> So, I figured I'd role back to the previous
> version of SA. Trying sa-learn again, I now get
> the following:
>
> SA Learn: config: configuration
> file "/etc/mail/spamassassin/20_advance_fee.cf"
> requires version 3.002005 of SpamAssassin, but
> this is code version 3.002004. Maybe you need to
> use the -C switch, or remove the old config
> files? Skipping this file
> at /usr/lib/perl5/vendor_perl/5.8.0/Mail/SpamAssassin/Conf/Parser.pm
> line 372.
And here you have version 3.2.5 rules with version 3.2.4.
How are you doing these installs and rollbacks? Did you think you were
installing version 3.3.1?
> In other words, Bayes (or something) seems to be
> looking at a previous configuration, or
> something.
It's not Bayes. It's spamassassin itself. The rules files have things like
require_version 3.003001
and the spamassassin version doesn't match.
> I think (the operative word, here) that I made a
> good backup copy of the Bayes DB. That having
> been said, how do I correct this problem?
Install rules that match your SA version
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the MailScanner
mailing list