[Rspamd-Users] How to define weight for BAYES_SPAM

Andrew Lewis rspamd-users at judo.za.org
Thu Dec 14 14:19:46 UTC 2023


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



More information about the Users mailing list