diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-10 11:38:20 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-10 11:38:20 +0200 |
| commit | f1d706040785c90f114f80e7f45c597af06a03a9 (patch) | |
| tree | 32a0db3ee24bf6e3f22b971226fcbf984eddf685 /docs/plans/2026-09-09-report.md | |
| parent | 2611c6485fa733e627f2c62c0369260f3a96d0bc (diff) | |
| download | abusectl-f1d706040785c90f114f80e7f45c597af06a03a9.tar.gz abusectl-f1d706040785c90f114f80e7f45c597af06a03a9.zip | |
fix: emit only registered ARF fields, verified against IANA
Backlog item 4 asked for a primary source for the machine-readable part.
It exists, and it is IANA's MARF registry rather than x-arf's own docs.
Checked against that registry and RFC 5965 itself on 2026-09-10.
Report-Type is not a registered field. The registry lists 25 names and it
is absent; it came from this spec's worked example rather than a decision.
Removed, because Feedback-Type already says it. Keeping it would have been
harmless, since RFC 5965 section 6 makes ignoring an unknown field a MUST
for the receiver, but that same section requires an extension field be
registered, and a desk should be able to look up every field in a document
this tool sends.
Feedback-Type moves from abuse to fraud. RFC 5965 registers fraud as
"indicates some kind of fraud or phishing activity" and abuse as
"unsolicited email or some other kind of email abuse". This tool reports
phishing, and some desks route fraud separately from bulk spam.
Reported-Uri becomes Reported-URI, the spelling in the ABNF and the
registration. The RFC's own worked example uses the other one, which is
where this came from. Names are case-insensitive so nothing was broken.
A new test holds the registry's 25 names and asserts every emitted field
is one of them, with Source named as the single deliberate exception, so
a new unregistered field cannot arrive unnoticed.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LByBnw83xr9YP85nskzkyE
Diffstat (limited to 'docs/plans/2026-09-09-report.md')
0 files changed, 0 insertions, 0 deletions
