aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/plugins/dmarc.lua
diff options
context:
space:
mode:
authorJosh Soref <2119212+jsoref@users.noreply.github.com>2022-02-22 17:01:28 -0500
committerGitHub <noreply@github.com>2022-02-22 22:01:28 +0000
commit2b8e6958f40ef36c1508118ac36a43694283a83c (patch)
treefa9a9b6843546bdb297b00bc78b83ab4c318f724 /lualib/plugins/dmarc.lua
parent85faeb34719e2b0898d319b02416f669d70f4562 (diff)
downloadrspamd-2b8e6958f40ef36c1508118ac36a43694283a83c.tar.gz
rspamd-2b8e6958f40ef36c1508118ac36a43694283a83c.zip
Spelling (#4086)
[Rework] Massive spelling fix from @jsoref
Diffstat (limited to 'lualib/plugins/dmarc.lua')
-rw-r--r--lualib/plugins/dmarc.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lualib/plugins/dmarc.lua b/lualib/plugins/dmarc.lua
index c72b68824..ef108a937 100644
--- a/lualib/plugins/dmarc.lua
+++ b/lualib/plugins/dmarc.lua
@@ -152,7 +152,7 @@ exports.gen_munging_callback = function(munging_opts, settings)
if munging_opts.munge_map_condition then
local accepted,trace = munging_opts.munge_map_condition:process(task)
if not accepted then
- lua_util.debugm(task, 'skip munging, maps condition not satisified: (%s)',
+ lua_util.debugm(task, 'skip munging, maps condition not satisfied: (%s)',
trace)
-- Excepted
return
@@ -274,7 +274,7 @@ end
-- Used to check dmarc record, check elements and produce dmarc policy processed
-- result.
-- Returns:
--- false,false - record is garbadge
+-- false,false - record is garbage
-- false,error_message - record is invalid
-- true,policy_table - record is valid and parsed
]]
@@ -349,7 +349,7 @@ local function dmarc_check_record(log_obj, record, is_tld)
end
result.raw_elts = elts
else
- return false,false -- Ignore garbadge
+ return false,false -- Ignore garbage
end
return true, result