From: Vsevolod Stakhov Date: Fri, 5 Aug 2016 11:57:10 +0000 (+0100) Subject: [Fix] Do not insert HELO/HOSTNAME unknown when they are not passed X-Git-Tag: 1.3.2~32 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=73bdfff8363ee5868fc60de7f3e757a2cbee7cb9;p=rspamd.git [Fix] Do not insert HELO/HOSTNAME unknown when they are not passed --- diff --git a/src/plugins/lua/hfilter.lua b/src/plugins/lua/hfilter.lua index 3e39638a6..b32bac890 100644 --- a/src/plugins/lua/hfilter.lua +++ b/src/plugins/lua/hfilter.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2011-2015, Vsevolod Stakhov +Copyright (c) 2011-2016, Vsevolod Stakhov Copyright (c) 2013-2015, Alexey Savelyev Licensed under the Apache License, Version 2.0 (the "License"); @@ -342,8 +342,6 @@ local function hfilter(task) end end end - else - task:insert_result('HFILTER_HELO_UNKNOWN', 1.0) end end @@ -363,8 +361,6 @@ local function hfilter(task) end end end - else - task:insert_result('HFILTER_HOSTNAME_UNKNOWN', 1.00) end end @@ -430,7 +426,6 @@ local symbols_enabled = {} local symbols_helo = { "HFILTER_HELO_BAREIP", "HFILTER_HELO_BADIP", - "HFILTER_HELO_UNKNOWN", "HFILTER_HELO_1", "HFILTER_HELO_2", "HFILTER_HELO_3",