Merge pull request #589 from marrco/master

Rspamd: better scores for mx_check symbols
master
Michael Kuron 2017-09-19 12:14:18 +00:00 committed by GitHub
commit 533f947074
3 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,4 @@
MX_IMPLICIT {
expression = "MX_GOOD and MX_MISSING";
score = -0.01;
}

View File

@ -17,3 +17,20 @@ group "bayes" {
description = "Message probably ham, probability: "; description = "Message probably ham, probability: ";
} }
} }
group "MX" {
symbol "MX_INVALID" {
score = 0.5;
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.01;
description = "MX was ok";
one_shot = "true";
}
}

View File

@ -1,4 +1,4 @@
timeout = 1.0; timeout = 8.0;
symbol_bad_mx = "MX_INVALID"; symbol_bad_mx = "MX_INVALID";
symbol_no_mx = "MX_MISSING"; symbol_no_mx = "MX_MISSING";
symbol_good_mx = "MX_GOOD"; symbol_good_mx = "MX_GOOD";