commit a64af2f: [Minor] Fix misprint

Vsevolod Stakhov vsevolod at highsecure.ru
Mon Aug 9 15:35:04 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-08-09 16:31:39 +0100
URL: https://github.com/rspamd/rspamd/commit/a64af2fa4a875bcaca257f55e63b7445692294b9 (HEAD -> master)

[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


More information about the Commits mailing list