From: Vsevolod Stakhov Date: Thu, 30 Jul 2015 12:28:51 +0000 (+0100) Subject: Fix usage of variable. X-Git-Tag: 1.0.0~255 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6644ea293127bdb8a4aaddb8009f8212e95d83a4;p=thirdparty%2Frspamd.git Fix usage of variable. --- diff --git a/conf/lua/regexp/headers.lua b/conf/lua/regexp/headers.lua index e8bc7af448..f026d548bf 100644 --- a/conf/lua/regexp/headers.lua +++ b/conf/lua/regexp/headers.lua @@ -76,7 +76,7 @@ local yahoo_bulk = 'Received=/from \\[\\S+\\] by \\S+\\.(?:groups|scd|dcn)\\.yah -- Outlook MUA local outlook_mua = 'X-Mailer=/^Microsoft Outlook\\b/H' local any_outlook_mua = 'X-Mailer=/^Microsoft Outlook\\b/H' -reconf['FORGED_OUTLOOK_HTML'] = string.format('!%s & %s & %s', yahoo_bulk, outlook_mua, reconf['MIME_HTML_ONLY']) +reconf['FORGED_OUTLOOK_HTML'] = string.format('!%s & %s & %s', yahoo_bulk, outlook_mua, 'has_only_html_part()') -- Recipients seems to be likely with each other (only works when recipients count is more than 5 recipients) reconf['SUSPICIOUS_RECIPS'] = 'compare_recipients_distance(0.65)'