From f7878b4084b439e4b8c1589fb4ecc3a8925cdbe8 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 20 Sep 2019 12:22:56 +0100 Subject: [PATCH] [Minor] Rbl: Fix some more defects --- 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 51d26276b..9feab5aea 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -550,7 +550,7 @@ local function gen_rbl_callback(rule) end end add_dns_request(task, string.format('%s%s%s', - email_tbl.user, delimiter, email_tbl.host), false, false, + email_tbl.user, delimiter, email_tbl.domain), false, false, requests_table, what, whitelist) end end @@ -591,6 +591,7 @@ local function gen_rbl_callback(rule) local replyto = get_raw_header('Reply-To') if replyto then local rt = rspamd_util.parse_mail_address(replyto, task:get_mempool()) + lua_util.debugm(N, task, 'check replyto %s', rt[1]) if rt and rt[1] and (rt[1].addr and #rt[1].addr > 0) then check_email_table(task, rt[1], requests_table, whitelist, 'email replyto') -- 2.39.5