From 7003c8509527e2a837a32a6820cf0961a9b7924c Mon Sep 17 00:00:00 2001 From: yo Date: Tue, 4 Oct 2022 17:37:45 +0200 Subject: [PATCH] Fix metadata_exporter with many recipients --- src/plugins/lua/metadata_exporter.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/metadata_exporter.lua b/src/plugins/lua/metadata_exporter.lua index 8ccf9afe1..2bce5626a 100644 --- a/src/plugins/lua/metadata_exporter.lua +++ b/src/plugins/lua/metadata_exporter.lua @@ -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 -- 2.39.5