happyDeliver/web
Pierre-Olivier Mercier 1516991057 dmarc: implement RFC 7489 org-domain fallback and RFC 9091 PSD DMARC
DMARC lookup now follows the full RFC 7489 §6.6.3 fallback chain: exact
From domain → organizational domain (eTLD+1 via PSL) → public suffix
domain (RFC 9091, only when psd=y is present). DNS errors abort
immediately without triggering fallback; NXDOMAIN and missing v=DMARC1
records do trigger it. The found domain is exposed in the new
DMARCRecord.domain field for reporting purposes.

Also promote getOrganizationalDomain to a package-level function so both
HeaderAnalyzer and DNSAnalyzer can share it, and fix pre-existing
rbl_test.go compilation errors and stale score expectations.

Closes: #98
2026-05-18 17:03:58 +08:00
..
src dmarc: implement RFC 7489 org-domain fallback and RFC 9091 PSD DMARC 2026-05-18 17:03:58 +08:00
static/img Protonmail is now the best mailbox provider I tested 2025-11-01 15:46:48 +07:00
.gitignore Web UI setup 2025-10-20 15:02:14 +07:00
.npmrc Web UI setup 2025-10-20 15:02:14 +07:00
.prettierignore Web UI setup 2025-10-20 15:02:14 +07:00
.prettierrc Web UI setup 2025-10-20 15:02:14 +07:00
assets.go Web UI setup 2025-10-20 15:02:14 +07:00
eslint.config.js Web UI setup 2025-10-20 15:02:14 +07:00
openapi-ts.config.ts Update dependency @hey-api/openapi-ts to v0.85.2 2025-10-20 15:08:44 +07:00
package-lock.json chore(deps): lock file maintenance 2026-05-18 00:08:25 +00:00
package.json chore(deps): update dependency typescript to v6 2026-05-05 22:07:20 +00:00
routes.go Add paginated test history listing with disable option 2026-04-09 18:05:06 +07:00
svelte.config.js Web UI setup 2025-10-20 15:02:14 +07:00
tsconfig.json Web UI setup 2025-10-20 15:02:14 +07:00
vite.config.ts Web UI setup 2025-10-20 15:02:14 +07:00