]> source.dussan.org Git - rspamd.git/commitdiff
[Enhancement] Add composite rule for suspicious URLs in suspicious messages 4681/head
authortwesterhever <40121680+twesterhever@users.noreply.github.com>
Fri, 3 Nov 2023 13:48:58 +0000 (13:48 +0000)
committertwesterhever <40121680+twesterhever@users.noreply.github.com>
Fri, 3 Nov 2023 13:48:58 +0000 (13:48 +0000)
conf/composites.conf

index fe89808fb13c2fb54be453adabb9b2b940f8436e..df5543be6fd12386d6cde1bb433ff3d9fa7a873e 100644 (file)
@@ -181,6 +181,12 @@ composites {
     description = "Fake reply exhibiting characteristics of being injected into a compromised mail server, possibly e-mail thread hijacking";
     group = "compromised_hosts";
   }
+  SUSPICIOUS_URL_IN_SUSPICIOUS_MESSAGE {
+    expression = "(REDIRECTOR_URL | HAS_ANON_DOMAIN | HAS_IPFS_GATEWAY_URL) & (-g+:fuzzy | -g+:statistics | -g+:surbl | -g+:rbl)";
+    score = 1.0;
+    policy = "leave";
+    description = "Message contains redirector, anonymous or IPFS gateway URL and is marked by fuzzy/bayes/SURBL/RBL";
+  }
 
   .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/composites.conf"
   .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/composites.conf"