diff options
author | Horia Racoviceanu <horia@racoviceanu.com> | 2018-02-23 12:14:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-23 12:14:02 -0500 |
commit | 4e854fd8460350d7d72c1f7b3dad04e856af71c0 (patch) | |
tree | 010d7081aae30af16e35299e8f5429ae96e5fa7e /src/plugins | |
parent | 7e62a09e0ba8645cd03dfed3e381a7f00d571683 (diff) | |
download | rspamd-4e854fd8460350d7d72c1f7b3dad04e856af71c0.tar.gz rspamd-4e854fd8460350d7d72c1f7b3dad04e856af71c0.zip |
Additional bad extensions
Potentially dangerous, and blocked by others:
- https://support.google.com/mail/answer/6590?hl=en
- https://support.office.com/en-us/article/Blocked-attachments-in-Outlook-434752E1-02D3-4E90-9124-8B81E49A8519
Multiplier "2" chosen arbitrarily, please adjust.
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/mime_types.lua | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua index 0f88e557b..6f6770d1a 100644 --- a/src/plugins/lua/mime_types.lua +++ b/src/plugins/lua/mime_types.lua @@ -51,6 +51,108 @@ local settings = { ace = 4, arj = 2, cab = 3, + -- Additional bad extensions from Gmail + ade = 2, + adp = 2, + chm = 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, + -- Additional bad extensions from Outlook + app = 2, + asp = 2, + bas = 2, + cer = 2, + cnt = 2, + crt = 2, + csh = 2, + der = 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, + tmp = 2, + url = 2, + vbp = 2, + vsmacros = 2, + vsw = 2, + webpnp = 2, + website = 2, + ws = 2, + xbap = 2, + xll = 2, + xnk = 2, }, -- Something that should not be in archive |