- contracts/mail-relay refreshed from IWDL 83af8c6 (1.6.0) - an answer that is not the service's JSON is 'not confirmed' unless its status is 400 to 499 - a site with a token issued by hand does not enrol to heal: it stops and says what to ask Intecion for - a store made on another host (a database copied to staging) is not used: the copy enrols as itself, nothing is revoked - the panel calls the service IWSN (RELAY_SHORT_NAME); docs, logs and the doctor keep the full name Co-Authored-By: Claude Fable 5.2 <[email protected]>
5.8 KiB
Changelog of the wire contract
1.6.0 — 2026-11-25 (not released; no tag yet)
From the first client built against the contract (IAPL's). The service did not change; these are the contract's words. What a client built against 1.5.0 has to change is marked.
- An answer that is not the service's JSON is no longer "like
503 unavailable" for the report: with a status from 400 to 499 it is not sent, with any other status (200 included) not confirmed. Client: change the report for that case. Retrying it is as before. - A client that cannot keep key and bytes (§1): no retry by itself after the report; a repeat by a person
is a new message; keys derived from the message's record are described, and for such a key
idempotency-conflictmeans "already handled". Client: nothing must change; derived keys are an option. - A site with a hand-issued token does not enrol on
reverify/invalid-token; it reportsrelay-refusedand what to ask Intecion for. Client: nothing, if it already does this. Origin/Sec-Fetch-Site: a client sends neither; said in §1. Client: nothing for Node.- A stand-in need not reproduce the service's lists; said in §10.
1.5.0 — 2026-11-25 (never released)
After the third review.
new-recipients:accountmail is outside it; a form's confirmations may use four fifths of it.- Failed sends: those in flight are counted in.
- Wording:
backend-failed,internaland unknown codes mean "probably not sent"; the checklist asks a client to limit "forgot password" itself.
1.4.0 — 2026-11-25 (never released)
After the second review.
- Limits by kind:
security-alerthas a budget of its own (limit: "alerts",limits.securityAlertsPerDay) outside hour and day;accountmail may use the whole hour and day, every other kind four fifths. Thequotaof a send answer is for that kind.recipientcountsform-confirmationmessages only. - The idempotency promise is now what the service does: a key whose message was handed to the mail back end
is never sent again within 24 hours; when the result was not recorded it answers
in-progressuntil then. - Failed sends have a limit of their own:
429 rate-limitedafter 60 in an hour. - Retrying: three attempts, 30 seconds each, ten seconds of waiting in all; an enrolment on the way does not count.
- Subject: U+200D, U+200C and U+00AD are allowed; everything else as before, with the rule a client strips by.
- Any mail of a site to Intecion's own address gets
[host]in front of its subject. - The confirm address: no redirect is followed — the usual causes and what to do;
given.quotagainshour-share-used.
1.3.0 — 2026-11-25 (never released)
- The confirm path is fixed per product (owner, 2026-11-25):
iapl→/api/iapl/mail-relay/confirm,iawl→/?rest_route=/iawl/v1/mail-relay/confirm.callbackPathis gone from the enrolment request (a request that carries it is refused). A site that serves its API elsewhere has its path set by Intecion. - Suppression is account-wide and stays so (owner, 2026-11-25): said in the code table.
1.2.0 — 2026-11-25 (never released)
After the first independent review. The wire format is the same; the text now has one reading where it had two.
- Retrying: at most three attempts in ten seconds, and the ten seconds win over
retryAfter; "no answer" andin-progressare reported as not confirmed, never as not sent. - Idempotency: "the same body" is the same bytes; a client encodes a message once.
- The confirm endpoint: exactly
200and the JSON object, at most 1024 bytes, within 8 seconds; the site keeps its earlier token until/v1/enrolanswers 200. - An answer that is not JSON is
unavailable, retryable. Authorization: Bearerin any case.- Schema:
codeandwarningsare open strings (new ones are minor changes);tois required unless the kind issecurity-alert; recipients'maxItemsis the service's bound, the site's limit is in/v1/status; base64 is padded to a multiple of four (said in words: a pattern for it overflows on large files); lengths are in code points. - Changed behaviour: the per-recipient limit refuses
form-confirmationonly; a subject may not start with the service's name in brackets; asecurity-alertgets the site's host in front of its subject;attachment-refusednames the file infield(suggested statusrelay-attachment-refused); invisible characters (all of Unicode category Cf) are refused in subject and file names. - Added:
limits.serverAddressesin/v1/status; what happens beyond it. - Before the first release tag, versions are development versions (§9).
1.1.0 — 2026-11-25 (never released)
- The base address is
https://webservices.intecion.net/mail: one host for Intecion's web services, this one under the path/mail. Paths in the contract are relative to the base address, as before; a client that kept the base address as one constant changes that constant and nothing else. - Added:
service.namein the answer of/v1/status("Intecion Notifications Webservice"). - The service sends from
[email protected](owner, 2026-11-25).
Minor, by the contract's own rule (§9): an answer field was added. No copy of 1.0.0 was released; a client that copied it during development copies the folder again.
1.0.0 — 2026-11-25 (never released)
First version: /v1/enrol with the call-back and its confirmation, /v1/send, /v1/status, /v1/rotate,
/v1/revoke, /health; the error codes; the examples and the runner.
Differs from the design proposal (draft 4) in one visible point: the site's confirm endpoint answers 200 with
a confirmation (SHA-256 of nonce and token), not a bare 204. Reason: services/mail-relay/DECISIONS.md, D1.