]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Store raw dmarc elts
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 4 Aug 2021 13:15:38 +0000 (14:15 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 4 Aug 2021 13:15:38 +0000 (14:15 +0100)
lualib/plugins/dmarc.lua

index 3bffcb7cfaee73a03594f278d45f5d7097b6b202..cd1b8e4b8a2cfe380851104df27c4cf45bbca054 100644 (file)
@@ -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