[Rspamd-Users] "you are using old bayes schema for redis statistics" forever

Tim Harman tim at muppetz.com
Thu Nov 29 22:37:53 UTC 2018


On 30/11/2018 11:26 am, Sophie Loewenthal wrote:

> "# Please use actions.conf and groups.conf files instead"
> 
> Except my metrics are defined in the actions.conf file!
> 
> Now there is a /etc/rspamd/metrics.conf that came with the distribution.  Should I delete this?  It has the same content as yours.

I'm actually not sure sorry. 
I think you need to move what's in your metrics.conf into groups.conf,
but as you're trying to modify the scores for the mx_check module I'm
not sure what group name you need to give the rules.  I would guess
something like 

group "mx" { 
  metrics {
symbol "MX_INVALID" {
score = 1.0;
description = "No connectable MX";
one_shot = "true"; }
symbol "MX_MISSING" {
score = 1.5;
description = "No MX record";
one_shot = "true"; }
symbol "MX_GOOD" {
score = -0.5;
description = "MX was ok";
one_shot = "true"; }
} 
} 

But that's JUST A GUESS I don't know if that's correct.  I'm using the
standard scores for the mx_check. 

Back to your original problem though, do you have 

new_schema = true; 

in your  local.d/classifier-bayes.conf 

?


More information about the Users mailing list