From: Vsevolod Stakhov Date: Thu, 16 Apr 2015 12:48:25 +0000 (+0100) Subject: Fix matching braces. X-Git-Tag: 0.9.0~228 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1dfdd67c7f5e90340fedb98ceeb0304521c602e;p=thirdparty%2Frspamd.git Fix matching braces. Spotted by: Viktor Khomyuk --- diff --git a/conf/lua/regexp/headers.lua b/conf/lua/regexp/headers.lua index 035583d260..f4955d902c 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=/^?$/H' local ims_msgid = 'Message-Id=/^?$/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'