diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-04 11:48:08 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-04 11:48:08 +0100 |
commit | 675bd739a6651af46edea0a6fc23d0f27dcde0f0 (patch) | |
tree | 8c2e2a87f762c01bf3a4bd22dfbeb044ad23ecd8 | |
parent | 59e81754e6d2cab79e5c3725ee6075fce5af7f6c (diff) | |
download | rspamd-675bd739a6651af46edea0a6fc23d0f27dcde0f0.tar.gz rspamd-675bd739a6651af46edea0a6fc23d0f27dcde0f0.zip |
[Fix] Do not greylist on rejection
-rw-r--r-- | src/plugins/lua/greylist.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |