From: Vsevolod Stakhov Date: Thu, 19 Sep 2019 16:24:19 +0000 (+0100) Subject: [Minor] Sigh, another replyto rbl fix X-Git-Tag: 2.0~172 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5bc4486b96fb515269d8c13fa53c1ae23579f272;p=thirdparty%2Frspamd.git [Minor] Sigh, another replyto rbl fix --- 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