From a64af2fa4a875bcaca257f55e63b7445692294b9 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 9 Aug 2021 16:31:39 +0100 Subject: [PATCH] [Minor] Fix misprint --- lualib/rspamadm/dmarc_report.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lualib/rspamadm/dmarc_report.lua b/lualib/rspamadm/dmarc_report.lua index 2501621a4..062e8070e 100644 --- a/lualib/rspamadm/dmarc_report.lua +++ b/lualib/rspamadm/dmarc_report.lua @@ -321,7 +321,7 @@ local function process_rua(dmarc_domain, rua) end if not found then - logger.errx('%s is not authorized to process reports on %s', reporting_domain, u:get_tld()) + logger.errx('%s is not authorized to process reports on %s', dmarc_domain, u:get_host()) else -- All good table.insert(addrs, u) @@ -360,7 +360,7 @@ local function validate_reporting_domain(reporting_domain) local processed,rec = dmarc_common.dmarc_check_record(rspamd_config, r, false) if processed and rec.rua then -- We need to check or alter rua if needed - local processed_rua = process_rua(dmarc_domian, rec.rua) + local processed_rua = process_rua(dmarc_domain, rec.rua) if processed_rua then rec = rec.raw_elts rec.rua = processed_rua -- 2.39.5