]> source.dussan.org Git - rspamd.git/commit
Update dmarc.lua
authordzjaivnt <91220882+dzjaivnt@users.noreply.github.com>
Thu, 12 Oct 2023 10:28:48 +0000 (12:28 +0200)
committerGitHub <noreply@github.com>
Thu, 12 Oct 2023 10:28:48 +0000 (12:28 +0200)
commit4127a61ee72030c27c80c082283b73b85b3ac5c9
treeb0ca8f4eed43b0977c0f1c3cdf8143324fef198a
parenta6bd9c893a74310548e51fed691b62db809c3564
Update dmarc.lua

When from.name is Nil its still show up, with != "" not

Then you get
From: via user <user@domain.tld>

Instead of
From: otheruser via user <user@domain.tld>

Debug:
2023-10-12 12:08:15 #725504(normal) <0b948d>; dmarc; dmarc.lua:191: munging debug: {[user] = user, [domain] = domain.tld, [flags] = {[valid] = true}, [name] = , [raw] = user@domain.tld, [addr] = user@domain.tld}
lualib/plugins/dmarc.lua