Question about calculation 'score'

38 views
Skip to first unread message

Thomas Plant

unread,
Aug 4, 2017, 5:19:33 AM8/4/17
to rspamd
Hello,

I'd have a question about the calculation of the final score in a message.
I have a message here which received the following score from mx_check:

MX_GOOD(-32)[mx4.hotmail.com,mx2.hotmail.com,mx3.hotmail.com,mx1.hotmail.com]

In the local.d/metrics.conf I have the following settings:
symbol "MX_INVALID" {
  score = 1.0;
  description = "No connectable MX";
  one_shot = "true";
}
symbol "MX_MISSING" {
  score = 2.0;
  description = "No MX record";
  one_shot = "true";
}
symbol "MX_GOOD" {
  score = -0.5;
  description = "MX was ok";
  one_shot = "true";
}



So as how I understand it should have received the -0.5 score from the settings and not -32 points?

Thanks,
Thomas

Dedé Alves

unread,
Nov 22, 2017, 9:31:47 PM11/22/17
to rspamd
I have the same configuration score as you, but I have the following value:

---------------------------------------------
MX_GOOD(-5)[market.koreanair.co.kr]
---------------------------------------------

Seems not respect the decimal point.
The value seems multiplied by 10, from "-0.5' to '-5'.

Regards,
Dede
Reply all
Reply to author
Forward
0 new messages