commit 24bed91: [Minor] Increase score for attachment types already blocked by GMail and Outlook
twesterhever
40121680+twesterhever at users.noreply.github.com
Tue Jun 20 21:42:04 UTC 2023
Author: twesterhever
Date: 2023-06-20 15:57:48 +0000
URL: https://github.com/rspamd/rspamd/commit/24bed917f0db4c3508be944029b2735a06158328 (refs/pull/4518/head)
[Minor] Increase score for attachment types already blocked by GMail and Outlook
https://github.com/rspamd/rspamd/pull/4518#issuecomment-1598655957
---
src/plugins/lua/mime_types.lua | 190 ++++++++++++++++++++---------------------
1 file changed, 95 insertions(+), 95 deletions(-)
diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua
index 6755b3ce7..2059fc9f9 100644
--- a/src/plugins/lua/mime_types.lua
+++ b/src/plugins/lua/mime_types.lua
@@ -68,102 +68,102 @@ local settings = {
vst = 2,
vss = 2,
-- Additional bad extensions from Gmail
- ade = 2,
- adp = 2,
- cmd = 2,
- cpl = 2,
- ins = 2,
- isp = 2,
- js = 2,
- jse = 2,
- lib = 2,
- mde = 2,
- msc = 2,
- msi = 2,
- msp = 2,
- mst = 2,
- nsh = 2,
- pif = 2,
- sct = 2,
- shb = 2,
- sys = 2,
- vb = 2,
- vbe = 2,
- vbs = 2,
- vxd = 2,
- wsc = 2,
- wsh = 2,
+ ade = 4,
+ adp = 4,
+ cmd = 4,
+ cpl = 4,
+ ins = 4,
+ isp = 4,
+ js = 4,
+ jse = 4,
+ lib = 4,
+ mde = 4,
+ msc = 4,
+ msi = 4,
+ msp = 4,
+ mst = 4,
+ nsh = 4,
+ pif = 4,
+ sct = 4,
+ shb = 4,
+ sys = 4,
+ vb = 4,
+ vbe = 4,
+ vbs = 4,
+ vxd = 4,
+ wsc = 4,
+ wsh = 4,
-- Additional bad extensions from Outlook
- app = 2,
- asp = 2,
- bas = 2,
- cnt = 2,
- csh = 2,
- diagcab = 2,
- fxp = 2,
- gadget = 2,
- grp = 2,
- hlp = 2,
- hpj = 2,
- inf = 2,
- its = 2,
- jnlp = 2,
- ksh = 2,
- mad = 2,
- maf = 2,
- mag = 2,
- mam = 2,
- maq = 2,
- mar = 2,
- mas = 2,
- mat = 2,
- mau = 2,
- mav = 2,
- maw = 2,
- mcf = 2,
- mda = 2,
- mdb = 2,
- mdt = 2,
- mdw = 2,
- mdz = 2,
- msh = 2,
- msh1 = 2,
- msh2 = 2,
- mshxml = 2,
- msh1xml = 2,
- msh2xml = 2,
- msu = 2,
- ops = 2,
- osd = 2,
- pcd = 2,
- pl = 2,
- plg = 2,
- prf = 2,
- prg = 2,
- printerexport = 2,
- ps1 = 2,
- ps1xml = 2,
- ps2 = 2,
- ps2xml = 2,
- psc1 = 2,
- psc2 = 2,
- psd1 = 2,
- psdm1 = 2,
- pst = 2,
- reg = 2,
- scf = 2,
- shs = 2,
- theme = 2,
- url = 2,
- vbp = 2,
- vsmacros = 2,
- vsw = 2,
- webpnp = 2,
- website = 2,
- ws = 2,
- xbap = 2,
- xll = 2,
- xnk = 2,
+ app = 4,
+ asp = 4,
+ bas = 4,
+ cnt = 4,
+ csh = 4,
+ diagcab = 4,
+ fxp = 4,
+ gadget = 4,
+ grp = 4,
+ hlp = 4,
+ hpj = 4,
+ inf = 4,
+ its = 4,
+ jnlp = 4,
+ ksh = 4,
+ mad = 4,
+ maf = 4,
+ mag = 4,
+ mam = 4,
+ maq = 4,
+ mar = 4,
+ mas = 4,
+ mat = 4,
+ mau = 4,
+ mav = 4,
+ maw = 4,
+ mcf = 4,
+ mda = 4,
+ mdb = 4,
+ mdt = 4,
+ mdw = 4,
+ mdz = 4,
+ msh = 4,
+ msh1 = 4,
+ msh2 = 4,
+ mshxml = 4,
+ msh1xml = 4,
+ msh2xml = 4,
+ msu = 4,
+ ops = 4,
+ osd = 4,
+ pcd = 4,
+ pl = 4,
+ plg = 4,
+ prf = 4,
+ prg = 4,
+ printerexport = 4,
+ ps1 = 4,
+ ps1xml = 4,
+ ps2 = 4,
+ ps2xml = 4,
+ psc1 = 4,
+ psc2 = 4,
+ psd1 = 4,
+ psdm1 = 4,
+ pst = 4,
+ reg = 4,
+ scf = 4,
+ shs = 4,
+ theme = 4,
+ url = 4,
+ vbp = 4,
+ vsmacros = 4,
+ vsw = 4,
+ webpnp = 4,
+ website = 4,
+ ws = 4,
+ xbap = 4,
+ xll = 4,
+ xnk = 4,
},
-- Something that should not be in archive
More information about the Commits
mailing list