aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2017-06-06 17:16:56 +0200
committerAndrew Lewis <nerf@judo.za.org>2017-06-06 17:16:56 +0200
commita8936659c5f7774716aaedb010bd13459ef0e8ee (patch)
treeafab996af0538930d67eff1a9fbd8a3585a4eb67 /src
parent9a5bc94e55cbfffd3db5e31fb492d751bfbedf0c (diff)
downloadrspamd-a8936659c5f7774716aaedb010bd13459ef0e8ee.tar.gz
rspamd-a8936659c5f7774716aaedb010bd13459ef0e8ee.zip
[Minor] DMARC reporting: support copying reports
Diffstat (limited to 'src')
-rw-r--r--src/plugins/lua/dmarc.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/lua/dmarc.lua b/src/plugins/lua/dmarc.lua
index 8345936bf..5afda58a3 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