[Rspamd-Users] How to migrate from metrics.conf?

Aki Kyo aki.2kyo at gmail.com
Tue Jul 30 23:38:23 UTC 2019


Having trouble to find a migration guide to move from metrics.conf

Where do I put the "subject" setting? How can I learn what group files
each symbol belongs in?

e.d. Virus related probably to go in antivirus_group.conf however
those symbols not assigned a group anywhere

I have in metrics.conf:


subject = "[LIKELY SPAM]: %s";
unknown_weight = 0.1;

symbol "CLAMAV_VIRUS" {
   score = 9.0;
}
symbol "JUST_EICAR" {
   score = 0.0;
}
symbol "IP_SCORE" {
  weight = 1.0;
}
symbol "MX_INVALID" {
  score = 1.0;
  one_shot = true;
}
symbol "MX_MISSING" {
  score = 2.0;
  one_shot = true;
}
symbol "MX_GOOD" {
  score = -0.5;
  one_shot = true;
}
symbol "TEST_RULE" {
   score = 3.0;
}


More information about the Users mailing list