From 25ef2636ef82e7ec33b0f8a6558c1de2fe59c21b Mon Sep 17 00:00:00 2001 From: Phil Ross Date: Fri, 25 Oct 2019 19:36:27 +0100 Subject: [Minor] Fix not logging DMARC reporting addresses. `reporting_addr` uses the email address strings as keys so `table.concat` won't produce any output. --- src/plugins/lua/dmarc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins') 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) -- cgit v1.2.3