From: Vsevolod Stakhov Date: Mon, 9 Aug 2021 15:31:39 +0000 (+0100) Subject: [Minor] Fix misprint X-Git-Tag: 3.0~28 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a64af2fa4a875bcaca257f55e63b7445692294b9;p=rspamd.git [Minor] Fix misprint --- 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