From: Vsevolod Stakhov Date: Wed, 4 May 2016 10:48:08 +0000 (+0100) Subject: [Fix] Do not greylist on rejection X-Git-Tag: 1.3.0~559 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=675bd739a6651af46edea0a6fc23d0f27dcde0f0;p=thirdparty%2Frspamd.git [Fix] Do not greylist on rejection --- diff --git a/src/plugins/lua/greylist.lua b/src/plugins/lua/greylist.lua index 1493ad96fd..6e068e1d5e 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