commit 25ef263: [Minor] Fix not logging DMARC reporting addresses.
Phil Ross
phil.ross at gmail.com
Sat Oct 26 11:00:07 UTC 2019
Author: Phil Ross
Date: 2019-10-25 19:36:27 +0100
URL: https://github.com/rspamd/rspamd/commit/25ef2636ef82e7ec33b0f8a6558c1de2fe59c21b (refs/pull/3122/head)
[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(-)
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)
More information about the Commits
mailing list