From 675bd739a6651af46edea0a6fc23d0f27dcde0f0 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 4 May 2016 11:48:08 +0100 Subject: [PATCH] [Fix] Do not greylist on rejection --- 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 1493ad96f..6e068e1d5 100644 --- a/src/plugins/lua/greylist.lua +++ b/src/plugins/lua/greylist.lua @@ -255,7 +255,7 @@ local function greylist_set(task) end end else - if action ~= 'no action' then + if action ~= 'no action' and action ~= 'reject' then local grey_res = task:get_mempool():get_variable("grey_greylisted_body") if grey_res then -- 2.39.5