From f80fd24a5060b11741d24c9265269c5877a9b488 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 9 Aug 2021 16:14:26 +0100 Subject: [Minor] Dmarc: Store reports for esld and not for the specific domain --- src/plugins/lua/dmarc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/lua/dmarc.lua') 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', -- cgit v1.2.3