On Friday 01 May 2009, Theo Van Dinter wrote:
>I would say it's less someone poisoning your DB and more your DB
>becoming corrupt.  As it says, a pack format of dec(73) is not a valid
>value.  It's set by the BayesStore module itself, not influenced by
>the token in question.
>
>You can try to do a dump/verify/restore ...  ala:
>
>sa-learn --sync
check

>sa-learn --backup > db-dump
check

>vi db-dump   [... make sure things look as expected, etc ...]

Using vim I found about 10 lines that were really long, 200+ chars, all ending 
in @casabyte.com, and nuked them.  That is very close to a 1 million line 
file!

>[... backup your db, however appropriate, depending on your setup ...]
>sa-learn --restore db-dump

Did this twice, the first time I found spamc trying to use it, so I waited 
till it was done and repeated this operation.

Didn't help, maillog is still about 2 screens full of this error for every 
message processed.

Next?


Thanks.

>On Fri, May 1, 2009 at 11:23 AM, Gene Heskett <gene.hesk...@verizon.net> 
wrote:
>> The error:
>> 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.
>>
>> Is there a fix?


-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Sand fleas eating the Internet cables

Reply via email to