]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Add "User" HELO in Received headers to ABUSE_FROM_INJECTOR 5209/head
authortwesterhever <40121680+twesterhever@users.noreply.github.com>
Mon, 4 Nov 2024 11:59:22 +0000 (11:59 +0000)
committertwesterhever <40121680+twesterhever@users.noreply.github.com>
Mon, 4 Nov 2024 11:59:22 +0000 (11:59 +0000)
This pattern often surfaces in spam (frequently advance fee fraud)
disseminated via compromised accounts, adding it to ABUSE_FROM_INJECTOR
to increase the likelihood of such spam getting rejected.

conf/composites.conf

index 4fb97588f9d118c3bd278f5d2cd9acbf395aca05..5a3585e1051ac26ff60f3cc28b942b3d869c485d 100644 (file)
@@ -191,7 +191,7 @@ composites {
     description = "Message authenticated, but from a suspicios origin (potentially an injector)";
   }
   ABUSE_FROM_INJECTOR {
-    expression = "SUSPICIOUS_AUTH_ORIGIN & (FAKE_REPLY | HAS_IPFS_GATEWAY_URL | HTML_SHORT_LINK_IMG_1)";
+    expression = "SUSPICIOUS_AUTH_ORIGIN & (RCVD_HELO_USER | FAKE_REPLY | HAS_IPFS_GATEWAY_URL | HTML_SHORT_LINK_IMG_1)";
     score = 2.0;
     policy = "leave";
     description = "Message is sent from a suspicios origin and showing signs of abuse, likely spam injected in compromised account";