[Rspamd-Users] How to define weight for BAYES_SPAM

Tino Hendricks t.hendricks at interpool.de
Thu Dec 14 16:13:36 UTC 2023


Hi Andrew,

thank you so much for your lightning fast answer!

It seems the FAQ _is_ sufficient as it mentions the „rspamd_dynamic“ file.
I played around with action scores and now also with Symbols.
Looking at the output of History it seems to work now, thank you!

Best, and sorry for not reading the FAQ thoroughly

Tino

> Am 14.12.2023 um 15:19 schrieb Andrew Lewis via Users <users at lists.rspamd.com>:
> 
> Hi Tino,
> 
> What you've described should work, did you restart Rspamd?
> 
> Have you perhaps already configured scoring via WebUI?- That
> configuration would have a higher priority & might be found at
> /var/lib/rspamd/rspamd_dynamic
> 
> BAYES_HAM should have a negative score, like -1.0.
> 
> Best,
> -AL.
> 
> On Thu, 2023-12-14 at 14:28 +0100, Tino Hendricks wrote:
>> Hi list,
>> 
>> my bayes seems to have a good sense of knowing what is SPAM and what
>> is not so I would like my rspamd to listen to it more. ;-)
>> 
>> I put 
>> 
>>> symbols {
>>>   "BAYES_HAM" {
>>>     weight = 1.0; # Define your weight
>>>   }
>>>   "BAYES_SPAM" {
>>>     weight = 9.0; # Define your weight
>>>   }
>>> }
>> 
>> 
>> in my…/local.d/groups.conf
>> 
>> But that doesn’t seem to be the right place nor way.
>> 
>> Thank you for a short hint (or maybe a link where to learn such
>> things).
>> Obviously
>> https://rspamd.com/doc/faq.html#how-to-change-score-for-some-symbol i
>> s not sufficient for me.
>> 
>> Thanks a lot
>> 
>> Tino
> 
> -- 
> Users mailing list
> Users at lists.rspamd.com
> https://lists.rspamd.com/mailman/listinfo/users



More information about the Users mailing list