Mail relay: contract 1.7.0 — X-Intecion-Site on every request with a token, host-mismatch
contracts/mail-relay refreshed from IWDL 6cd99f7 (64 files). A token the service knows as another site's is forgotten without revoking and the site enrols as itself; a hand-issued one is refused. The fake requires the header and answers host-mismatch. Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
co-authored by
Claude Fable 5.2
parent
a2b07b1dc1
commit
fef2c51bae
@@ -91,6 +91,8 @@ catcher such as Mailpit) or the fake service ("Testing").
|
||||
- With every message: recipients, subject, text and HTML, attachments, the sender name, the reply address, the
|
||||
kind of the message, and an idempotency key. The service keeps a log of metadata only (no subject, body,
|
||||
attachment, reply address or recipient address) for 30 days.
|
||||
- Every request that carries the token also names the site (`X-Intecion-Site: <host>`): the service refuses a token
|
||||
used under another host's name (`403 host-mismatch` — the site then forgets that token and enrols as itself).
|
||||
- The service adds `X-Intecion-Site: <host>` and `X-Intecion-Product: iapl` to every mail.
|
||||
- Recipients' addresses and message bodies pass through Cloudflare (the service's mail back end). Name it in the
|
||||
client's processing agreement before a client site sends through the service.
|
||||
|
||||
Reference in New Issue
Block a user