aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/plugins/dmarc.lua
Commit message (Collapse)AuthorAgeFilesLines
* [Minor] remove unnecessary calls of lpeg.P in DMARC grammarThomas Oettli2024-09-131-2/+2
| | | | Just to make to code more readable.
* [Fix] Rework DMARC to correctly handle spaces in DMARC recordsThomas Oettli2024-09-121-3/+3
| | | | Issue: #4906
* [Fix] Allow spaces in DMARC recordsVsevolod Stakhov2024-05-161-2/+2
| | | | Issue: #4906
* Update dmarc.luadzjaivnt2023-10-121-3/+3
| | | | | | | | | | | | With name: dmarc; dmarc.lua:191: munging debug: {[domain] = domain.tld [flags] = {[valid] = true, [braced] = true}, [name] = Name [domain.tld], [raw] = <user@domain.tld>, [addr] = user@domain.tld, [user] = user} dmarc; dmarc.lua:234: munged DMARC header for domain.tld: Name [domain.tld] via mark <otheruser@otherdomain.tld> -> user@domain.tld Without name: dmarc; dmarc.lua:191: munging debug: {[domain] = domain.tld [flags] = {[valid] = true, [braced] = true}, [name] = , [raw] = <user@domain.tld>, [addr] = user@domain.tld, [user] = user} dmarc.lua:234: munged DMARC header for domain.tld: user via otheruser <otheruser@otherdomain.tld> -> user@domain.tld
* Update dmarc.luadzjaivnt2023-10-121-1/+1
| | | | | | | | | | | | 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}
* Update dmarc.luadzjaivnt2023-10-121-3/+3
| | | Debug logs where broken, so muning functionality not working at all.
* [Minor] Reformat all Lua code, no functional changesVsevolod Stakhov2023-08-071-24/+23
|
* [Fix] dmarc gramar - allow spaces before ";"Stephan Toggweiler2023-07-211-2/+2
| | | The ABNF in https://www.rfc-editor.org/rfc/rfc7489#section-6.4 define that its allowed to have spaces before ";"
* [Minor] Update more copyright years/emailVsevolod Stakhov2022-03-271-1/+1
|
* Spelling (#4086)Josh Soref2022-02-221-3/+3
| | | [Rework] Massive spelling fix from @jsoref
* [Minor] Dmarc: Fold header using specific newline typeVsevolod Stakhov2021-12-141-2/+2
|
* [Minor] Fix ip validity checkVsevolod Stakhov2021-12-021-1/+1
|
* [Minor] Store raw dmarc eltsVsevolod Stakhov2021-08-041-0/+1
|
* [Rework] Dmarc: Move check policy function to the common utilsVsevolod Stakhov2021-08-031-1/+127
|
* [Rework] Move common and rarely used dmarc code to the libraryVsevolod Stakhov2021-08-021-0/+233