commit 7003c85: Fix metadata_exporter with many recipients
yo
johan at nosd.in
Wed Oct 5 21:07:03 UTC 2022
Author: yo
Date: 2022-10-04 17:37:45 +0200
URL: https://github.com/rspamd/rspamd/commit/7003c8509527e2a837a32a6820cf0961a9b7924c (refs/pull/4294/head)
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
More information about the Commits
mailing list