commit 3badb7e: [Fix] Rbl: Fix helo check pipeline

Vsevolod Stakhov vsevolod at rspamd.com
Thu Dec 8 20:56:03 UTC 2022


Author: Vsevolod Stakhov
Date: 2022-12-08 20:51:27 +0000
URL: https://github.com/rspamd/rspamd/commit/3badb7e8f532530d010835adef65cc6df2042d4f (HEAD -> master)

[Fix] Rbl: Fix helo check pipeline
Issue: #4356

---
 src/plugins/lua/rbl.lua | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua
index dd69ccd67..3b73f0b03 100644
--- a/src/plugins/lua/rbl.lua
+++ b/src/plugins/lua/rbl.lua
@@ -463,7 +463,8 @@ local function gen_rbl_callback(rule)
     local helo = task:get_helo()
 
     if not helo then
-      return false
+      -- Avoid pipeline breaking
+      return true
     end
 
     add_dns_request(task, helo, true, false, requests_table,


More information about the Commits mailing list