]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Increase score for .chm attachments
authortwesterhever <40121680+twesterhever@users.noreply.github.com>
Tue, 20 Jun 2023 11:47:08 +0000 (11:47 +0000)
committertwesterhever <40121680+twesterhever@users.noreply.github.com>
Tue, 20 Jun 2023 11:47:08 +0000 (11:47 +0000)
src/plugins/lua/mime_types.lua

index 3734d890df738cbe9135739f7bfeff849f11ecae..6755b3ce76bbf83c7eb4c446a3c760e4e8b7629f 100644 (file)
@@ -51,6 +51,7 @@ local settings = {
 
   bad_extensions = {
     bat = 2,
+    chm = 4,
     com = 2,
     exe = 1,
     hta = 2,
@@ -69,7 +70,6 @@ local settings = {
     -- Additional bad extensions from Gmail
     ade = 2,
     adp = 2,
-    chm = 2,
     cmd = 2,
     cpl = 2,
     ins = 2,