aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/dmarc.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-08-09 16:14:26 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-08-09 16:14:26 +0100
commitf80fd24a5060b11741d24c9265269c5877a9b488 (patch)
tree47fdc719f507d2ca664dc5068af23ed9e442ceda /src/plugins/lua/dmarc.lua
parentb53bf462801aa36901059b98035355951a215124 (diff)
downloadrspamd-f80fd24a5060b11741d24c9265269c5877a9b488.tar.gz
rspamd-f80fd24a5060b11741d24c9265269c5877a9b488.zip
[Minor] Dmarc: Store reports for esld and not for the specific domain
Diffstat (limited to 'src/plugins/lua/dmarc.lua')
-rw-r--r--src/plugins/lua/dmarc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/dmarc.lua b/src/plugins/lua/dmarc.lua
index 984a5da79..ffc37ae3d 100644
--- a/src/plugins/lua/dmarc.lua
+++ b/src/plugins/lua/dmarc.lua
@@ -309,7 +309,7 @@ local function dmarc_validate_policy(task, policy, hdrfromdom, dmarc_esld)
-- Dmarc domain key must include dmarc domain, rua and period
local dmarc_domain_key = table.concat(
- {settings.reporting.redis_keys.report_prefix, hdrfromdom, policy.rua, period},
+ {settings.reporting.redis_keys.report_prefix, dmarc_esld, policy.rua, period},
settings.reporting.redis_keys.join_char)
local report_data = dmarc_common.dmarc_report(task, settings, {
spf_ok = spf_ok and 'pass' or 'fail',