From 5bc4486b96fb515269d8c13fa53c1ae23579f272 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 19 Sep 2019 17:24:19 +0100 Subject: [PATCH] [Minor] Sigh, another replyto rbl fix --- src/plugins/lua/rbl.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index 7d9b9f71b7..75adb6e2f6 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -598,8 +598,9 @@ local function gen_rbl_callback(rule) delimiter = '@' end end - add_dns_request(task, string.format('%s%s%s', - rt[1].user, delimiter, rt[1].host), true, false, + + add_dns_request(task, rt[1].addr:gsub('@', delimiter), + true, false, requests_table, 'email replyto', whitelist) end end -- 2.47.3