[Rspamd] Fix FREEMAIL_POLICY_FAILURE with SPF_SOFTFAIL (#4142)
Add really low negative score to SOFTFAIL policy symbols to get FREEMAIL_POLICY_FAILURE triggered correctlymaster
parent
81864823c5
commit
583663f6d1
|
@ -1,6 +1,6 @@
|
||||||
symbols = {
|
symbols = {
|
||||||
"ARC_REJECT" {
|
"ARC_REJECT" {
|
||||||
score = 0.01;
|
score = 0.1;
|
||||||
}
|
}
|
||||||
"R_SPF_FAIL" {
|
"R_SPF_FAIL" {
|
||||||
score = 8.0;
|
score = 8.0;
|
||||||
|
@ -8,6 +8,9 @@ symbols = {
|
||||||
"R_SPF_PERMFAIL" {
|
"R_SPF_PERMFAIL" {
|
||||||
score = 8.0;
|
score = 8.0;
|
||||||
}
|
}
|
||||||
|
"R_SPF_SOFTFAIL" {
|
||||||
|
score = 0.1;
|
||||||
|
}
|
||||||
"R_DKIM_REJECT" {
|
"R_DKIM_REJECT" {
|
||||||
score = 8.0;
|
score = 8.0;
|
||||||
}
|
}
|
||||||
|
@ -18,6 +21,6 @@ symbols = {
|
||||||
weight = 8.0;
|
weight = 8.0;
|
||||||
}
|
}
|
||||||
"DMARC_POLICY_SOFTFAIL" {
|
"DMARC_POLICY_SOFTFAIL" {
|
||||||
weight = 0.0;
|
weight = 0.1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue