commit 7348544: [Fix] BAD_REP_POLICIES did not trigger when message was classified as spam by Bayes

Player701 Player701 at users.noreply.github.com
Sat Aug 20 16:21:03 UTC 2022


Author: Player701
Date: 2022-08-19 19:47:46 +0300
URL: https://github.com/rspamd/rspamd/commit/73485446f789538c55449d742b560ab832fda9d5 (refs/pull/4244/head)

[Fix] BAD_REP_POLICIES did not trigger when message was classified as spam by Bayes

---
 conf/composites.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/composites.conf b/conf/composites.conf
index c750be39a..cd03d5fdd 100644
--- a/conf/composites.conf
+++ b/conf/composites.conf
@@ -124,7 +124,7 @@ composites {
   }
   BAD_REP_POLICIES {
     description = "Contains valid policies but are also marked by fuzzy/bayes/surbl/rbl";
-    expression = "(~g-:policies) & (-g+:fuzzy | -g+:bayes | -g+:surbl | -g+:rbl)";
+    expression = "(~g-:policies) & (-g+:fuzzy | -g+:statistics | -g+:surbl | -g+:rbl)";
     score = 0.1;
   }
 


More information about the Commits mailing list