aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-10-05 22:06:05 +0100
committerGitHub <noreply@github.com>2022-10-05 22:06:05 +0100
commitaffca08d98c1e65bee32d1ab5143defade24e72b (patch)
treedc85f4461bf3d4e6c2f6f4413057014eae648335
parent420cb619af8b6d9d8be871caef77b4c81d60419a (diff)
parent7003c8509527e2a837a32a6820cf0961a9b7924c (diff)
downloadrspamd-affca08d98c1e65bee32d1ab5143defade24e72b.tar.gz
rspamd-affca08d98c1e65bee32d1ab5143defade24e72b.zip
Merge pull request #4294 from yo000/master
[Fix] metadata_exporter: fix the case with many recipients
-rw-r--r--src/plugins/lua/metadata_exporter.lua2
1 files changed, 1 insertions, 1 deletions
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