[Rspamd-Users] Bayes learning question.

Reio Remma reio at mrstuudio.ee
Fri Nov 22 08:47:08 UTC 2019


On 22/11/2019 10:40, Daniel, Sebastian wrote:
> Hello,
>
> this depends on your Configuration....
> Show us your Bayes Config...  or  as descriped here: https://rspamd.com/doc/configuration/statistic.html :
>
>
>  From version 1.1, Rspamd supports autolearning for statfiles. Autolearning is applied after all rules are processed (including statistics) if and only if the same symbol has not been inserted. E.g. a message won't be learned as spam if BAYES_SPAM is already in the results of checking.

Ahh, I think this is the key why the learned count goes up slowly. 
Rejects are all most likely already BAYES_SPAM.

Thanks! Missed that. :)

>
> There are 3 possibilities to specify autolearning:
>
> autolearn = true: autolearning is performing as spam if a message has reject action and as ham if a message has negative score
> autolearn = [-5, 5]: autolearn as ham if score is less -5 and as spam if score is more than 5
> autolearn = "return function(task) ... end": use the following Lua function to detect if autolearn is needed (function should return 'ham' if learn as ham is needed and string 'spam' if learn as spam is needed, if no learn is needed then a function can return anything including nil)
> Redis backend is highly recommended for autolearning purposes since it's the only backend with high concurrency level when multiple writers are properly synchronized.
>
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Users <users-bounces at lists.rspamd.com> Im Auftrag von Reio Remma via Users
> Gesendet: Freitag, 22. November 2019 09:09
> An: RSPAMD Mailing List <users at lists.rspamd.com>
> Cc: Reio Remma <reio at mrstuudio.ee>
> Betreff: [Rspamd-Users] Bayes learning question.
>
> Hello!
>
> I see learned messages count going up slowly, but I'm curious - are messages that are rejected due to high score also automatically learnt as spam?
>
> Thanks,
> Reio
> --
> Users mailing list
> Users at lists.rspamd.com
> https://lists.rspamd.com/mailman/listinfo/users


-- 
Tervitades
Reio Remma


MR Stuudio 25 aastat

*MR Stuudio OÜ*
Tondi 17b, 11316, Tallinn
Tel +372 650 4808
Mob +372 56 22 00 33
reio at mrstuudio.ee
www.mrstuudio.ee





More information about the Users mailing list