aboutsummaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-08-09 16:31:39 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-08-09 16:31:39 +0100
commita64af2fa4a875bcaca257f55e63b7445692294b9 (patch)
tree6fd1b342acbf7f000c28fa3f7ad653f630993a07 /lualib
parentf80fd24a5060b11741d24c9265269c5877a9b488 (diff)
downloadrspamd-a64af2fa4a875bcaca257f55e63b7445692294b9.tar.gz
rspamd-a64af2fa4a875bcaca257f55e63b7445692294b9.zip
[Minor] Fix misprint
Diffstat (limited to 'lualib')
-rw-r--r--lualib/rspamadm/dmarc_report.lua4
1 files 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