public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Commit
[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
583663f6
data/conf/rspamd/local.d/policies_group.conf | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Diff
diff --git a/data/conf/rspamd/local.d/policies_group.conf b/data/conf/rspamd/local.d/policies_group.conf
index 8799db1c..954deacf 100644
--- a/data/conf/rspamd/local.d/policies_group.conf
+++ b/data/conf/rspamd/local.d/policies_group.conf
@@ -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;
}
}