aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-07-30 13:28:51 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-07-30 13:28:51 +0100
commit6644ea293127bdb8a4aaddb8009f8212e95d83a4 (patch)
tree30db6db0614dda8bbaff8001b403f6a360cb2f05 /conf
parentaaffa849948b0fa70a3cd9d0dd2d5459bc330bc5 (diff)
downloadrspamd-6644ea293127bdb8a4aaddb8009f8212e95d83a4.tar.gz
rspamd-6644ea293127bdb8a4aaddb8009f8212e95d83a4.zip
Fix usage of variable.
Diffstat (limited to 'conf')
-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 e8bc7af44..f026d548b 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)'