diff options
author | dzjaivnt <91220882+dzjaivnt@users.noreply.github.com> | 2023-10-12 11:39:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-12 11:39:42 +0200 |
commit | a6bd9c893a74310548e51fed691b62db809c3564 (patch) | |
tree | d1ce9aa281ff5608f60d692fc3ab8353bcecc9a6 | |
parent | 8e7b12edea91b5ff944247d70c30857a141211ef (diff) | |
download | rspamd-a6bd9c893a74310548e51fed691b62db809c3564.tar.gz rspamd-a6bd9c893a74310548e51fed691b62db809c3564.zip |
Update dmarc.lua
Debug logs where broken, so muning functionality not working at all.
-rw-r--r-- | lualib/plugins/dmarc.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lualib/plugins/dmarc.lua b/lualib/plugins/dmarc.lua index 6acf982c3..f80eaad5b 100644 --- a/lualib/plugins/dmarc.lua +++ b/lualib/plugins/dmarc.lua @@ -151,7 +151,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 satisfied: (%s)', + lua_util.debugm(N, task, 'skip munging, maps condition not satisfied: (%s)', trace) -- Excepted return @@ -170,7 +170,7 @@ exports.gen_munging_callback = function(munging_opts, settings) end if not rcpt_found then - lua_util.debugm(task, 'skip munging, recipients are not in list_map') + lua_util.debugm(N, task, 'skip munging, recipients are not in list_map') -- Excepted return end @@ -178,7 +178,7 @@ exports.gen_munging_callback = function(munging_opts, settings) local from = task:get_from({ 'mime', 'orig' }) if not from or not from[1] then - lua_util.debugm(task, 'skip munging, from is bad') + lua_util.debugm(N, task, 'skip munging, from is bad') -- Excepted return end |