You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2005/08/01 05:09:34 UTC

[Bug 4494] sa-learn uses local_tests_only=0 which can mess up bayes

http://bugzilla.spamassassin.org/show_bug.cgi?id=4494


Bob@Menschel.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|dev@spamassassin.apache.org |Bob@Menschel.net
             Status|NEW                         |ASSIGNED




------- Additional Comments From Bob@Menschel.net  2005-07-31 20:09 -------
Created an attachment (id=3047)
 --> (http://bugzilla.spamassassin.org/attachment.cgi?id=3047&action=view)
patch to sa-learn to activate --local parameter

There is a command line option, sa-learn -L or --local, which should do what
you want, if I read the sa-learn documentation correctly. 

The code currently reads
> local_tests_only    => 1,
You change this to 
> local_tests_only    => 0,
instead, if I read the code correctly, it should be
> local_tests_only    => $opt{'local'},

Patch submitted for dev review. 



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