]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Lua_magic: Add ics pattern
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 20 Nov 2020 11:23:56 +0000 (11:23 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 20 Nov 2020 11:24:17 +0000 (11:24 +0000)
lualib/lua_magic/patterns.lua

index d04c3c57e03d3e33d03c72bf52645bcd87b2e805..5e62b47f981302fcf38b3de98f0b5d8b4188f482 100644 (file)
@@ -147,6 +147,15 @@ local patterns = {
       },
     }
   },
+  ics = {
+    matches = {
+      {
+        string = [[BEGIN:VCALENDAR]],
+        weight = 60,
+        relative_position = 0,
+      }
+    }
+  },
   -- Archives
   arj = {
     matches = {