]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Fix matching braces.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 16 Apr 2015 12:48:25 +0000 (13:48 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 16 Apr 2015 12:48:25 +0000 (13:48 +0100)
Spotted by: Viktor Khomyuk

conf/lua/regexp/headers.lua

index 035583d26009a6134a72ed745c198951baad12e7..f4955d902c15f8d50b5e98ddf8a37d2dab485434 100644 (file)
@@ -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'