]> source.dussan.org Git - rspamd.git/commitdiff
Fix metadata_exporter with many recipients 4294/head
authoryo <johan@nosd.in>
Tue, 4 Oct 2022 15:37:45 +0000 (17:37 +0200)
committeryo <johan@nosd.in>
Tue, 4 Oct 2022 15:37:45 +0000 (17:37 +0200)
src/plugins/lua/metadata_exporter.lua

index 8ccf9afe153a1aa40e0b2a8bc892b01681253714..2bce5626a3d1230980efd35b51fa0bf30e0bdf3e 100644 (file)
@@ -191,7 +191,7 @@ local formatters = {
     else
       for _, e in ipairs(mail_rcpt) do
         table.insert(display_emails, string.format('<%s>', e))
-        table.insert(mail_targets, mail_rcpt)
+        table.insert(mail_targets, e)
       end
     end
     if rule.email_alert_sender then