From: twesterhever <40121680+twesterhever@users.noreply.github.com> Date: Sun, 28 Apr 2024 09:06:17 +0000 (+0000) Subject: [Minor] Add bad file types commonly found in archives attached to malspam X-Git-Tag: 3.9.0~54^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4949%2Fhead;p=thirdparty%2Frspamd.git [Minor] Add bad file types commonly found in archives attached to malspam --- diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua index 71b6481d85..6506025aae 100644 --- a/src/plugins/lua/mime_types.lua +++ b/src/plugins/lua/mime_types.lua @@ -196,10 +196,14 @@ local settings = { -- Something that should not be in archive bad_archive_extensions = { + chm = 4, docx = 0.1, + exe = 0.1, hta = 4, + iso = 4, jar = 3, js = 0.5, + lnk = 4, pdf = 0.1, pptx = 0.1, vbs = 4,