commit 57cf63c: [Minor] Increase score for .chm attachments

twesterhever 40121680+twesterhever at users.noreply.github.com
Tue Jun 20 21:42:03 UTC 2023


Author: twesterhever
Date: 2023-06-20 11:47:08 +0000
URL: https://github.com/rspamd/rspamd/commit/57cf63cca71170be55c2652bd759baff61186324

[Minor] Increase score for .chm attachments

---
 src/plugins/lua/mime_types.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua
index 3734d890d..6755b3ce7 100644
--- a/src/plugins/lua/mime_types.lua
+++ b/src/plugins/lua/mime_types.lua
@@ -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,


More information about the Commits mailing list