aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorPhil Ross <phil.ross@gmail.com>2019-10-25 19:36:27 +0100
committerPhil Ross <phil.ross@gmail.com>2019-10-26 08:55:51 +0100
commit25ef2636ef82e7ec33b0f8a6558c1de2fe59c21b (patch)
treebab8aa6807fc989e0ac40b4d25a93345168c994d /src/plugins
parentad4de4e521e50cba7900171fb06820d0f1219719 (diff)
downloadrspamd-25ef2636ef82e7ec33b0f8a6558c1de2fe59c21b.tar.gz
rspamd-25ef2636ef82e7ec33b0f8a6558c1de2fe59c21b.zip
[Minor] Fix not logging DMARC reporting addresses.
`reporting_addr` uses the email address strings as keys so `table.concat` won't produce any output.
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/dmarc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/dmarc.lua b/src/plugins/lua/dmarc.lua
index eab87c85a..c2fc4d9bb 100644
--- a/src/plugins/lua/dmarc.lua
+++ b/src/plugins/lua/dmarc.lua
@@ -975,7 +975,7 @@ if opts['reporting'] == true then
reporting_addr[report_settings.additional_address] = true
end
rspamd_logger.infox(ev_base, 'sending report for %s <%s>',
- reporting_domain, table.concat(reporting_addr, ','))
+ reporting_domain, reporting_addr)
local dmarc_xml = dmarc_report_xml()
local dmarc_push_cb
dmarc_push_cb = function(err, data)