aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-16 13:48:25 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-16 13:48:25 +0100
commitf1dfdd67c7f5e90340fedb98ceeb0304521c602e (patch)
tree49ae11f0d3029faf6c6ac88d79472bdecff942b6
parent6ff51d7bf9a308aef5011afb096e5b3dc6a6b4b3 (diff)
downloadrspamd-f1dfdd67c7f5e90340fedb98ceeb0304521c602e.tar.gz
rspamd-f1dfdd67c7f5e90340fedb98ceeb0304521c602e.zip
Fix matching braces.
Spotted by: Viktor Khomyuk
-rw-r--r--conf/lua/regexp/headers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/lua/regexp/headers.lua b/conf/lua/regexp/headers.lua
index 035583d26..f4955d902 100644
--- a/conf/lua/regexp/headers.lua
+++ b/conf/lua/regexp/headers.lua
@@ -178,7 +178,7 @@ local outlook_dollars_other = 'Message-Id=/^<?\\!\\~\\!>?/H'
local vista_msgid = 'Message-Id=/^<?[A-F\\d]{32}\\@\\S+>?$/H'
local ims_msgid = 'Message-Id=/^<?[A-F\\d]{36,40}\\@\\S+>?$/H'
-- Forged outlook headers
-local forged_outlook_dollars = string.format('(%s & !%s & !%s & !%s & !%s & !%s',
+local forged_outlook_dollars = string.format('(%s & !%s & !%s & !%s & !%s & !%s)',
outlook_dollars_mua, oe_msgid_2, outlook_dollars_other, vista_msgid, ims_msgid, unusable_msgid)
-- Outlook versions that should be excluded from summary rule
local fmo_excl_o3416 = 'X-Mailer=/^Microsoft Outlook, Build 10.0.3416$/H'