]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix not logging DMARC reporting addresses. 3122/head
authorPhil Ross <phil.ross@gmail.com>
Fri, 25 Oct 2019 18:36:27 +0000 (19:36 +0100)
committerPhil Ross <phil.ross@gmail.com>
Sat, 26 Oct 2019 07:55:51 +0000 (08:55 +0100)
`reporting_addr` uses the email address strings as keys so
`table.concat` won't produce any output.

src/plugins/lua/dmarc.lua

index eab87c85a95a819f0eee0f9056c9782d4fdc2e2e..c2fc4d9bb17da4b462b193ce323641915a5583ee 100644 (file)
@@ -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)