commit 3a97fbb: [Minor] Store raw dmarc elts

Vsevolod Stakhov vsevolod at highsecure.ru
Wed Aug 4 15:00:04 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-08-04 14:15:38 +0100
URL: https://github.com/rspamd/rspamd/commit/3a97fbba2795bb84d72a758bea1fbdc359ec36c4

[Minor] Store raw dmarc elts

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

diff --git a/lualib/plugins/dmarc.lua b/lualib/plugins/dmarc.lua
index 3bffcb7cf..cd1b8e4b8 100644
--- a/lualib/plugins/dmarc.lua
+++ b/lualib/plugins/dmarc.lua
@@ -347,6 +347,7 @@ local function dmarc_check_record(log_obj, record, is_tld)
     if elts.rua then
       result.rua = elts['rua']
     end
+    result.raw_elts = elts
   else
     return false,false -- Ignore garbadge
   end


More information about the Commits mailing list