aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAL <AlexeySa@users.noreply.github.com>2016-11-13 01:54:40 +0300
committerGitHub <noreply@github.com>2016-11-13 01:54:40 +0300
commit5d622a816721908f2e8c9466d6275ae61c244fc2 (patch)
treefd3b62fb72997e26ccedee813e915858cadfef3c /src
parent3a145180bc1398ab06f25fee22baa9cd8757caa3 (diff)
downloadrspamd-5d622a816721908f2e8c9466d6275ae61c244fc2.tar.gz
rspamd-5d622a816721908f2e8c9466d6275ae61c244fc2.zip
[Fix] No greylist rejected messages
Diffstat (limited to 'src')
-rw-r--r--src/plugins/lua/greylist.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/greylist.lua b/src/plugins/lua/greylist.lua
index c31e48927..d32f411d8 100644
--- a/src/plugins/lua/greylist.lua
+++ b/src/plugins/lua/greylist.lua
@@ -276,7 +276,7 @@ local function greylist_set(task)
local action = task:get_metric_action('default')
if do_greylisting_required then
- if do_greylisting_required ~= "1" then return end
+ if do_greylisting_required ~= "1" or action == 'reject' then return end
else
if action == 'no action' or action == 'reject' then return end
end