From: Andrew Lewis Date: Tue, 6 Jun 2017 15:16:56 +0000 (+0200) Subject: [Minor] DMARC reporting: support copying reports X-Git-Tag: 1.6.0~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8936659c5f7774716aaedb010bd13459ef0e8ee;p=thirdparty%2Frspamd.git [Minor] DMARC reporting: support copying reports --- diff --git a/src/plugins/lua/dmarc.lua b/src/plugins/lua/dmarc.lua index 8345936bf4..5afda58a3c 100644 --- a/src/plugins/lua/dmarc.lua +++ b/src/plugins/lua/dmarc.lua @@ -894,6 +894,9 @@ if opts['reporting'] == true then if type(report_settings.override_address) == 'string' then reporting_addr = {[report_settings.override_address] = true} end + if type(report_settings.additional_address) == 'string' 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, ',')) local dmarc_xml = dmarc_report_xml() local dmarc_push_cb