[Rspamd] Fix FREEMAIL_POLICY_FAILURE with SPF_SOFTFAIL (#4142)

Add really low negative score to SOFTFAIL policy symbols to get FREEMAIL_POLICY_FAILURE triggered correctly
This commit is contained in:
Dmitriy Alekseev
2021-06-11 16:10:28 +03:00
committed by GitHub
parent 81864823c5
commit 583663f6d1

View File

@@ -1,6 +1,6 @@
symbols = {
"ARC_REJECT" {
score = 0.01;
score = 0.1;
}
"R_SPF_FAIL" {
score = 8.0;
@@ -8,6 +8,9 @@ symbols = {
"R_SPF_PERMFAIL" {
score = 8.0;
}
"R_SPF_SOFTFAIL" {
score = 0.1;
}
"R_DKIM_REJECT" {
score = 8.0;
}
@@ -18,6 +21,6 @@ symbols = {
weight = 8.0;
}
"DMARC_POLICY_SOFTFAIL" {
weight = 0.0;
weight = 0.1;
}
}