From: Vsevolod Stakhov Date: Fri, 20 Nov 2020 11:23:56 +0000 (+0000) Subject: [Minor] Lua_magic: Add ics pattern X-Git-Tag: 2.7~127 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f5bebd97dba16d9994d49b5b8832b72950d511cd;p=thirdparty%2Frspamd.git [Minor] Lua_magic: Add ics pattern --- diff --git a/lualib/lua_magic/patterns.lua b/lualib/lua_magic/patterns.lua index d04c3c57e0..5e62b47f98 100644 --- a/lualib/lua_magic/patterns.lua +++ b/lualib/lua_magic/patterns.lua @@ -147,6 +147,15 @@ local patterns = { }, } }, + ics = { + matches = { + { + string = [[BEGIN:VCALENDAR]], + weight = 60, + relative_position = 0, + } + } + }, -- Archives arj = { matches = {