commit 80b8f0e: [Fix] Dmarc: Unbreak reporting after cf2ae3292ac93da8b6e0624b48a62828a51803c9

Vsevolod Stakhov vsevolod at highsecure.ru
Mon Sep 28 12:00:10 UTC 2020


Author: Vsevolod Stakhov
Date: 2020-09-28 12:56:59 +0100
URL: https://github.com/rspamd/rspamd/commit/80b8f0e4240445bc2e73ed5cfd205d0cb5a355ca (HEAD -> master)

[Fix] Dmarc: Unbreak reporting after cf2ae3292ac93da8b6e0624b48a62828a51803c9

---
 src/plugins/lua/dmarc.lua | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/plugins/lua/dmarc.lua b/src/plugins/lua/dmarc.lua
index f19a49ad7..c96e52455 100644
--- a/src/plugins/lua/dmarc.lua
+++ b/src/plugins/lua/dmarc.lua
@@ -220,6 +220,7 @@ local function dmarc_report(task, spf_ok, dkim_ok, disposition,
   local dkim_permerror = table.concat(dres.permerror or E, '|')
   local disposition_to_return = (disposition == "softfail") and "none" or disposition
   local res = table.concat({
+    ip:to_string(), spf_ok, dkim_ok,
     disposition_to_return, (sampled_out and 'sampled_out' or ''), hfromdom,
     dkim_pass, dkim_fail, dkim_temperror, dkim_permerror, spfdom, spf_result}, ',')
 


More information about the Commits mailing list