From: AL Date: Sat, 12 Nov 2016 22:54:40 +0000 (+0300) Subject: [Fix] No greylist rejected messages X-Git-Tag: 1.4.0~78^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5d622a816721908f2e8c9466d6275ae61c244fc2;p=rspamd.git [Fix] No greylist rejected messages --- 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