]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Add composite for suspicios free/disposamail MDN usage
authortwesterhever <40121680+twesterhever@users.noreply.github.com>
Tue, 9 Apr 2024 11:17:33 +0000 (11:17 +0000)
committertwesterhever <40121680+twesterhever@users.noreply.github.com>
Tue, 9 Apr 2024 11:17:33 +0000 (11:17 +0000)
conf/composites.conf

index a36d0449f0d8c8f92ce316d0aa226cfd66f7abbb..da14ce3a55ba3310f4ab495075e8cae7edf4505c 100644 (file)
@@ -168,6 +168,13 @@ composites {
     policy = "leave";
     description = "Message exhibits strong characteristics of advance fee fraud (AFF a/k/a '419' spam) involving freemail addresses";
   }
+  SUSPICIOS_MDN {
+    expression = "(FREEMAIL_MDN | DISPOSABLE_MDN) & !(FREEMAIL_FROM | FREEMAIL_ENVFROM)";
+    score = 2.0;
+    policy = "leave";
+    description = "Message delivery notification should go to freemail or disposable e-mail, but message was not sent from a freemail address";
+    group = "scams";
+  }
   REDIRECTOR_URL_ONLY {
     expression = "HFILTER_URL_ONLY & REDIRECTOR_URL";
     score = 1.0;