]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Sigh, another replyto rbl fix
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 19 Sep 2019 16:24:19 +0000 (17:24 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 19 Sep 2019 16:24:19 +0000 (17:24 +0100)
src/plugins/lua/rbl.lua

index 7d9b9f71b74fa19b95d509fb0fe6fbf74e9cceb8..75adb6e2f6d21d345ea8de3d1027600084706948 100644 (file)
@@ -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