On Wed, 10 May 2017, David B Funk wrote:

On Wed, 10 May 2017, John Hardin wrote:

 On Wed, 10 May 2017, David B Funk wrote:

> Is there any way to use Bayes autolearn in general but prevent it from > learning specific messages? > > I have a specific source of messages (Office-365) which I would like to > prevent from being autolearn (with out scoring them as spam). > > I still want those messages to be SA scored using the normal methods, > just not be considered -at-all- for autolearning.

 bayes_ignore_from u...@example.com

 bayes_ignore_to u...@example.com

John,
Thanks for the suggestion but I still want Bayes classifier run on those messages, just no autolearning.

bayes_ignore_(to|from) prevents both.

Yeah, I was wondering about that being a deal killer.

Is there some kind of score calculation rule that does something along the line of "if total score is less than N, add M"

Nope.

I think you may be stuck doing something like saving those messages and running them through sa-learn --forget.

You might want to open a bugzilla feature request for something like

  tflags  RULENAME  suppress_autolearn

and/or

  bayes_noautolearn_(to|from)


--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  If guns kill people, then...
    -- pencils miss spel words.
    -- cars make people drive drunk.
    -- spoons make people fat.
-----------------------------------------------------------------------
 41 days since the first commercial re-flight of an orbital booster (SpaceX)

Reply via email to