aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authortwesterhever <40121680+twesterhever@users.noreply.github.com>2023-10-24 12:58:13 +0000
committertwesterhever <40121680+twesterhever@users.noreply.github.com>2023-10-24 12:58:13 +0000
commit15548d3dece592403973e9bb09c0665df84a2398 (patch)
tree7588fcee70e77091d99831b27b9a85827343c608 /src
parentfab67cebb9c1f29966477ba2eabf167435a9c337 (diff)
downloadrspamd-15548d3dece592403973e9bb09c0665df84a2398.tar.gz
rspamd-15548d3dece592403973e9bb09c0665df84a2398.zip
Revert "[Minor] Increase scoring of *.exe attachments"
Reverted based on feedback by @moisseev. This reverts commit 8171424d846a3e33b5d0f9f7f4ee09ec8d553a03.
Diffstat (limited to 'src')
-rw-r--r--src/plugins/lua/mime_types.lua2
1 files changed, 1 insertions, 1 deletions
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