aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/lua/greylist.lua2
1 files changed, 1 insertions, 1 deletions
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