[Imc-tech] Perl and SA

Zachary C. Miller zach at chambana.net
Thu Jun 10 16:59:07 CDT 2004


Another unexpected victim of the Perl upgrade was Spamassassin's
bayesian filtering.

Perl 5.6.1 used libdb2.
Perl 5.8.4 uses libdb4.0. 

Files created by these versions are completely incompatible. 

If you find that you have some problems with Perl and any other old
DB_File files please let me know and I'll see what I can do about
fixing them.

I made some attempt to use db4.0_upgrade or db_dump/db4.0_load but
neither worked. So in the end I had to just delete the
/home/spamfilt/.spamassassin/bayes_* files and let the autolearner
start from scratch.

This is why there has been increased spam volume over the past several
days (since I upgraded SA). Spam volume should slowly but surely go
down over the next few weeks as the bayesian filter relearns about all
the variations of spelling for viagra and such. 

Unrelatedly, since yesterday there was a typo in
/etc/spamassassin/local.cf which was my fault and which I have now
fixed. That one invalidating some (but not all) of SA's rules and the
errors caused by it filled up /var. Doh!

-- 
Zachary C. Miller - @= - http://wolfgang.groogroo.com/
IMSA 1995 - UIUC 2000 - Just Another Leftist Muppet - Ya Basta!
 Social Justice, Community, Nonviolence, Decentralization, Feminism,
 Sustainability, Responsibility, Diversity, Democracy, Ecology


More information about the Imc-tech mailing list