From: Phil Ross Date: Fri, 25 Oct 2019 18:36:27 +0000 (+0100) Subject: [Minor] Fix not logging DMARC reporting addresses. X-Git-Tag: 2.1~13^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=25ef2636ef82e7ec33b0f8a6558c1de2fe59c21b;p=rspamd.git [Minor] Fix not logging DMARC reporting addresses. `reporting_addr` uses the email address strings as keys so `table.concat` won't produce any output. --- 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)