]> source.dussan.org Git - rspamd.git/commitdiff
Revert "[Minor] Increase scoring of *.exe attachments"
authortwesterhever <40121680+twesterhever@users.noreply.github.com>
Tue, 24 Oct 2023 12:58:13 +0000 (12:58 +0000)
committertwesterhever <40121680+twesterhever@users.noreply.github.com>
Tue, 24 Oct 2023 12:58:13 +0000 (12:58 +0000)
Reverted based on feedback by @moisseev.

This reverts commit 8171424d846a3e33b5d0f9f7f4ee09ec8d553a03.

src/plugins/lua/mime_types.lua

index c640d5e5884d7c130fde57dca43ce11f3fe9499d..63da399fd158538b5de03e48d27a3555d909248c 100644 (file)
@@ -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