mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-14 10:52:49 +02:00
Merge pull request #589 from marrco/master
Rspamd: better scores for mx_check symbols
This commit is contained in:
commit
533f947074
4
data/conf/rspamd/local.d/composites.conf
Normal file
4
data/conf/rspamd/local.d/composites.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
MX_IMPLICIT {
|
||||||
|
expression = "MX_GOOD and MX_MISSING";
|
||||||
|
score = -0.01;
|
||||||
|
}
|
@ -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";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user