commit 1fc2919: [Minor] Add additional bad extensions

twesterhever 40121680+twesterhever at users.noreply.github.com
Fri Jun 2 20:00:03 UTC 2023


Author: twesterhever
Date: 2023-06-02 10:46:47 +0000
URL: https://github.com/rspamd/rspamd/commit/1fc291912a383f03933202a1d4be2f3aae738563 (refs/pull/4508/head)

[Minor] Add additional bad extensions

---
 src/plugins/lua/mime_types.lua | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua
index ce784b10e..3734d890d 100644
--- a/src/plugins/lua/mime_types.lua
+++ b/src/plugins/lua/mime_types.lua
@@ -53,6 +53,7 @@ local settings = {
     bat = 2,
     com = 2,
     exe = 1,
+    hta = 2,
     iso = 4,
     jar = 2,
     lnk = 4,
@@ -60,7 +61,11 @@ local settings = {
     -- Have you ever seen that in legit email?
     ace = 4,
     arj = 2,
+    asx = 2,
     cab = 3,
+    sfx = 2,
+    vst = 2,
+    vss = 2,
     -- Additional bad extensions from Gmail
     ade = 2,
     adp = 2,


More information about the Commits mailing list