diff options
author | twesterhever <40121680+twesterhever@users.noreply.github.com> | 2023-10-22 20:24:23 +0000 |
---|---|---|
committer | twesterhever <40121680+twesterhever@users.noreply.github.com> | 2023-10-22 20:24:23 +0000 |
commit | 8171424d846a3e33b5d0f9f7f4ee09ec8d553a03 (patch) | |
tree | cb977ce4da760079c5ff874c95a6e295fb1a3d3f /src | |
parent | e484b311bb57ab9843684db33738c9829bdbba6e (diff) | |
download | rspamd-8171424d846a3e33b5d0f9f7f4ee09ec8d553a03.tar.gz rspamd-8171424d846a3e33b5d0f9f7f4ee09ec8d553a03.zip |
[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.
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/lua/mime_types.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua index d6a9ff06f..adf831716 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 |