You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Justin Mason <jm...@jmason.org> on 2006/07/11 13:56:52 UTC

Re: Bayes only works sometimes

This can happen if there is contention for the Bayes db.

Try running spamd with "-D" and compare output from that.

--j.

Jeremy Kister writes:
> I have an odd problem where given the /same/ input spamd, bayes will be 
> triggered sometimes, and not others.  I cannot replicate the problem 
> sending the input to spamassassin (bayes always shows up when piping to 
> spamassassin).
> 
> for example:
> 
> given the soruce at:
> http://jeremy.kister.net/tmp/1152571494.I9198eV400ff04M962772P11599.penny
> 
> i get the following results:
> http://jeremy.kister.net/tmp/result1.txt
> http://jeremy.kister.net/tmp/result2.txt
> http://jeremy.kister.net/tmp/result3.txt
> 
> my logs show:
> [25639] info: spamd: result: Y 32 - 
> FORGED_RCVD_HELO,HTML_50_60,HTML_MESSAGE,RAZOR2_CF_RANGE_51_100,RAZOR2_CF_RANGE_E4_51_100,RAZOR2_CF_RANGE_E8_51_100,RAZOR2_CHECK,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_XBL,URIBL_AB_SURBL,URIBL_JP_SURBL,URIBL_OB_SURBL,URIBL_SBL,URIBL_SC_SURBL 
> scantime=1.2,size=2498,user=root,uid=1010,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=37429,mid=<00...@dru43>,autolearn=unavailable
> [25639] info: spamd: result: Y 36 - 
> BAYES_99,FORGED_RCVD_HELO,HTML_50_60,HTML_MESSAGE,RAZOR2_CF_RANGE_51_100,RAZOR2_CF_RANGE_E4_51_100,RAZOR2_CF_RANGE_E8_51_100,RAZOR2_CHECK,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_XBL,URIBL_AB_SURBL,URIBL_JP_SURBL,URIBL_OB_SURBL,URIBL_SBL,URIBL_SC_SURBL 
> scantime=1.6,size=2498,user=root,uid=1010,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=37434,mid=<00...@dru43>,bayes=0.99999997122134,autolearn=unavailable
> 
> with no errors before or after.
> 
> I have confirmed this behavior with 3.1.2 and 3.1.3.
> 
> any clues ??
> 
> -- 
> 
> Jeremy Kister
> http://jeremy.kister.net./