From 73bdfff8363ee5868fc60de7f3e757a2cbee7cb9 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 5 Aug 2016 12:57:10 +0100 Subject: [PATCH] [Fix] Do not insert HELO/HOSTNAME unknown when they are not passed --- src/plugins/lua/hfilter.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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", -- 2.39.5