On Fri, 2009-05-01 at 11:23 -0400, Gene Heskett wrote: > bayes: unknown packing format for bayes db, please re-learn: 73 at > /usr/lib/perl5/vendor_perl/5.10.0/Mail/SpamAssassin/BayesStore/DBM.pm line > 1883. > > This seems to be repeated at about 3x for every spam I put in the spam folder. > Obviously someone has figured out a way to poison the bayes_db.
No. No poison, not triggered externally. After a brief look at the code, this is a warning in an internal function that unpacks the DBM bayes store internal format. Looks like a corrupted token entry in your DBM format bayes store DB. Please don't scream exploit, unless you had a look at the code. > Is there a fix? Frankly, dunno. If it's just a few token entries, it should be fixable by dropping them. Though if a large part of your Bayes DB is corrupted, I'm afraid it's time to start fresh. -- char *t="\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1: (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}