From: twesterhever <40121680+twesterhever@users.noreply.github.com> Date: Sun, 22 Oct 2023 20:24:23 +0000 (+0000) Subject: [Minor] Increase scoring of *.exe attachments X-Git-Tag: 3.7.2~2^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8171424d846a3e33b5d0f9f7f4ee09ec8d553a03;p=thirdparty%2Frspamd.git [Minor] Increase scoring of *.exe attachments These are already banned in most environments, including GMail and Outlook. We may as well bump this score up to 4 eventually. --- diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua index d6a9ff06fd..adf831716a 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 = 1, + exe = 2, iso = 4, jar = 2, -- In contrast to HTML MIME parts, dedicated HTML attachments are considered harmful