[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
master
Dmitriy Alekseev 2021-06-11 16:10:28 +03:00 committed by GitHub
parent 81864823c5
commit 583663f6d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

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;
}
}