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] More excludes for fwd hosts, minor fix to FORGED_W_BAD_POLICY
615ef47f
data/conf/rspamd/local.d/composites.conf | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
Diff
diff --git a/data/conf/rspamd/local.d/composites.conf b/data/conf/rspamd/local.d/composites.conf
index f0488e55..23169df9 100644
--- a/data/conf/rspamd/local.d/composites.conf
+++ b/data/conf/rspamd/local.d/composites.conf
@@ -31,12 +31,21 @@ BAD_WORD_BAD_TLD {
score = 10.0;
}
FORGED_W_BAD_POLICY {
- expression = "( ~g+:policies | ~R_SPF_NA) & ( ~FROM_NEQ_ENVFROM & ~FORGED_SENDER )"
+ expression = "( ~g+:policies | ~R_SPF_NA) & ( ~FROM_NEQ_ENVFROM & ~FORGED_SENDER ) & !WHITELISTED_FWD_HOST"
score = 3.0;
}
RBL_EXCLUDE_FWD_HOST {
expression = "-WHITELISTED_FWD_HOST & ^g:rbl"
}
+POLICIES_EXCLUDE_FWD_HOST {
+ expression = "-WHITELISTED_FWD_HOST & ^g:policies"
+}
+HFILTER_EXCLUDE_FWD_HOST {
+ expression = "-WHITELISTED_FWD_HOST & ^g:hfilter"
+}
+STATISTICS_EXCLUDE_FWD_HOST {
+ expression = "-WHITELISTED_FWD_HOST & ^g:statistics"
+}
UPSTREAM_CHECKS_EXCLUDE_FWD_HOST {
expression = "(-SIEVE_HOST | -WHITELISTED_FWD_HOST) & (^UNITEDINTERNET_SPAM | ^SPAM_FLAG | ^KLMS_SPAM | ^AOL_SPAM | ^MICROSOFT_SPAM)"
}