]> source.dussan.org Git - rspamd.git/commitdiff
[Enhancement] Add composite rule against AFF involving freemailers 4304/head
authortwesterhever <40121680+twesterhever@users.noreply.github.com>
Sun, 9 Oct 2022 08:29:21 +0000 (08:29 +0000)
committerGitHub <noreply@github.com>
Sun, 9 Oct 2022 08:29:21 +0000 (08:29 +0000)
conf/composites.conf

index cd03d5fdd4fde944180b9a76c0da16f6265d1fd2..fc5b7922d8f751d00739e23cc0e53ef6aef3c670 100644 (file)
@@ -154,6 +154,13 @@ composites {
     score = 7.0;
     group = "scams";
   }
+  
+  FREEMAIL_AFF {
+         expression = "(FREEMAIL_FROM | FREEMAIL_ENVFROM | FREEMAIL_REPLYTO) & R_UNDISC_RCPT & (INTRODUCTION | FROM_NAME_HAS_TITLE | FREEMAIL_REPLYTO_NEQ_FROM_DOM)";
+         score = 4.0;
+         policy = "leave";
+         description = "Message exhibits strong characteristics of advance fee fraud (AFF a/k/a '419' spam) involving freemail addresses";
+  }
 
   .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/composites.conf"
   .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/composites.conf"