VacationResponse: addresses elsewhere

Capability: https://analytic.systems/jmap/vacation

An extension to JMAP (RFC 8620 section 1.8) of the Blåmail mail service. It adds one property to the VacationResponse object of RFC 8621 section 8: the addresses outside the service that are the user's own, so that mail forwarded here from them is answered too. RFC 3834 section 2 asks for this: "Since a recipient may have multiple addresses forwarded to the same mailbox, recipients SHOULD be able to specify a set of addresses to the responder which it will recognize as valid for that recipient."

A request that does not name the capability in using sees nothing of it: the property is not in what VacationResponse/get gives, asking for it in properties is invalidArguments, setting it is invalidProperties (RFC 8620 section 3.3), and what such a request saves leaves the addresses as they are.

In the session object

The capability is in the session's capabilities object with an empty object as its value. Each mail account has it in its accountCapabilities, with one member:

maxExtraAddresses: UnsignedInt
How many addresses the property holds at most.

The property

extraAddresses: String[] (default: [])
Addresses of the user's elsewhere. Each is an address as RFC 5321 section 4.1.2 has it, with RFC 6531 section 3.3 for addresses in UTF-8, on a domain that is not one of the service's — the account's own addresses count anyway. The server writes each as people write it (its domain in U-labels) and keeps the same address once: two are the same if they are, without letter case, with the domain in A-labels. One that is not an address, or that is on a domain of the service, or more of them than maxExtraAddresses, is invalidProperties.

What it does

While the vacation response is on, a message is answered only if it names an address of the user as a recipient (To, Cc, Bcc or their Resent- forms; RFC 3834 section 2): one of the account's, or one of these. Every other rule of RFC 3834 holds as before. Changing the addresses does not make the response another one: who heard it in the last seven days does not hear it again.