]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Fix] Do not greylist on rejection
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 4 May 2016 10:48:08 +0000 (11:48 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 4 May 2016 10:48:08 +0000 (11:48 +0100)
src/plugins/lua/greylist.lua

index 1493ad96fdf3a5f759238053c11f92b226707703..6e068e1d5e3e5d6ac44102483cf5705787cdfb67 100644 (file)
@@ -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