commit 15548d3: Revert "[Minor] Increase scoring of *.exe attachments"

twesterhever 40121680+twesterhever at users.noreply.github.com
Wed Oct 25 17:56:07 UTC 2023


Author: twesterhever
Date: 2023-10-24 12:58:13 +0000
URL: https://github.com/rspamd/rspamd/commit/15548d3dece592403973e9bb09c0665df84a2398

Revert "[Minor] Increase scoring of *.exe attachments"
Reverted based on feedback by @moisseev.

This reverts commit 8171424d846a3e33b5d0f9f7f4ee09ec8d553a03.

---
 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 c640d5e58..63da399fd 100644
--- a/src/plugins/lua/mime_types.lua
+++ b/src/plugins/lua/mime_types.lua
@@ -53,7 +53,7 @@ local settings = {
 
   bad_extensions = {
     cue = 2,
-    exe = 2,
+    exe = 1,
     iso = 4,
     jar = 2,
     -- In contrast to HTML MIME parts, dedicated HTML attachments are considered harmful


More information about the Commits mailing list