diff options
author | twesterhever <40121680+twesterhever@users.noreply.github.com> | 2024-05-27 09:24:50 +0000 |
---|---|---|
committer | twesterhever <40121680+twesterhever@users.noreply.github.com> | 2024-05-27 09:24:50 +0000 |
commit | 873efdd75e0505260310fc2da19601897d839155 (patch) | |
tree | 6e4e97eaf578defaa5c3284ae0e28f644e1c7a02 /src/plugins/lua | |
parent | f0c4d32740df0019673bc706c6004373a2a39220 (diff) | |
download | rspamd-873efdd75e0505260310fc2da19601897d839155.tar.gz rspamd-873efdd75e0505260310fc2da19601897d839155.zip |
[Minor] Treat *.txz attachments as archives and harmful
Rationale: https://dshield.org/diary/Files%20with%20TXZ%20extension%20used%20as%20malspam%20attachments/30958
Diffstat (limited to 'src/plugins/lua')
-rw-r--r-- | src/plugins/lua/mime_types.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua index 6506025aa..ec8e566f2 100644 --- a/src/plugins/lua/mime_types.lua +++ b/src/plugins/lua/mime_types.lua @@ -56,6 +56,7 @@ local settings = { exe = 1, iso = 4, jar = 2, + txz = 2, zpaq = 2, -- In contrast to HTML MIME parts, dedicated HTML attachments are considered harmful htm = 1, @@ -221,6 +222,7 @@ local settings = { egg = 1, lz = 1, rar = 1, + txz = 1, xz = 1, zip = 1, zpaq = 1, |