[Rspamd-Users] Bayes learning question.

Daniel, Sebastian s.daniel at q-mex.net
Fri Nov 22 08:40:09 UTC 2019


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.

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


More information about the Users mailing list