]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Increase scoring of *.exe attachments
authortwesterhever <40121680+twesterhever@users.noreply.github.com>
Sun, 22 Oct 2023 20:24:23 +0000 (20:24 +0000)
committertwesterhever <40121680+twesterhever@users.noreply.github.com>
Sun, 22 Oct 2023 20:24:23 +0000 (20:24 +0000)
These are already banned in most environments, including GMail and
Outlook. We may as well bump this score up to 4 eventually.

src/plugins/lua/mime_types.lua

index d6a9ff06fd4a99c1c7afe7bb591639cf292f447b..adf831716a61f51c6858af339b291f264b574586 100644 (file)
@@ -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