http://issues.apache.org/SpamAssassin/show_bug.cgi?id=3109





------- Additional Comments From [EMAIL PROTECTED]  2006-06-20 19:49 -------
hey justin.. i was just doing some bayes work on bug #4787 and came across 
something that effected my initial shortcircuit work in regards to 
autolearning... i'm not sure if it effects your attachment #3530 since i havent 
yet got to that, but just in case, here is issue i ran into.

i noticed that all email that shortcircuited was failing to autolearn, even if 
autolearn tflag was set specifically fo rthat rule.  in 
Plugin::AutoLearnThreshold->autolearn_disriminator() I added this small block 
of code. 

  my $isspam;

  if ( $scan->{shortcircuit_rule} ) {
     $isspam = 1 if ( $scan->{shortcircuit_type} eq "spam" );
     $isspam = 0 if ( $scan->{shortcircuit_type} eq "ham" );
     dbg("learn: shortcircuit ham/spam does not require score evalution.");
     return $isspam;
  }

just thought i'd share that discover while its on my mind....




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to