aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-08-05 12:57:10 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-08-05 13:05:45 +0100
commit73bdfff8363ee5868fc60de7f3e757a2cbee7cb9 (patch)
tree3726e7e644ed5aaade34840e24be5e3f1552624f /src
parentf11b865a106c5cb8310745f92e84fa2866237e26 (diff)
downloadrspamd-73bdfff8363ee5868fc60de7f3e757a2cbee7cb9.tar.gz
rspamd-73bdfff8363ee5868fc60de7f3e757a2cbee7cb9.zip
[Fix] Do not insert HELO/HOSTNAME unknown when they are not passed
Diffstat (limited to 'src')
-rw-r--r--src/plugins/lua/hfilter.lua7
1 files changed, 1 insertions, 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 <vsevolod@highsecure.ru>
+Copyright (c) 2011-2016, Vsevolod Stakhov <vsevolod@highsecure.ru>
Copyright (c) 2013-2015, Alexey Savelyev <info@homeweb.ru>
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",