From 5d622a816721908f2e8c9466d6275ae61c244fc2 Mon Sep 17 00:00:00 2001 From: AL Date: Sun, 13 Nov 2016 01:54:40 +0300 Subject: [PATCH] [Fix] No greylist rejected messages --- src/plugins/lua/greylist.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5