]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
add rule for phish messages containing emotional subjects
authorheraklit256 <37872459+heraklit256@users.noreply.github.com#>
Sat, 8 Sep 2018 10:11:36 +0000 (12:11 +0200)
committerheraklit256 <37872459+heraklit256@users.noreply.github.com#>
Sat, 8 Sep 2018 10:11:36 +0000 (12:11 +0200)
conf/composites.conf

index 89f03790e7e9c681d329bc9ae880f895c5db6c13..83ae88e47f34389746eed084268868be101f7e5e 100644 (file)
@@ -101,6 +101,11 @@ composites {
         description = "Message was generated by PHP script and contains some spam indicators";
         score = 1.0;
     }
+    PHISH_EMOTION {
+        expression = "(HACKED_WP_PHISHING | DBL_PHISH | PHISHED_OPENPHISH | PHISHED_PHISHTANK) & (SUBJECT_ENDS_QUESTION | SUBJECT_ENDS_EXCLAIM)";
+        description = "Phish message with subject trying to address users emotion";
+        score = 2.0;
+    }
 
     .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/composites.conf"
     .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/composites.conf"