Mail relay: review round 2 — the store is keyed by host, a copied database does not enrol by itself
- Q-1 one entry per host (iapl:mail-relay:site:<host>); a read never deletes or writes; another host's
entry is neither used nor touched (a developer's process on the live database, www and apex, a copy)
- a database that holds another host's connection and none of this site's does not enrol by itself:
"Connect again" does, once; mail.relay.otherHosts ('wait' | 'enrol' | the site's own other hosts);
panel text and doctor finding; a site with an empty store enrols by itself as before
- Q-2 the file limit answers from what is stored and never asks the service
- Q-3 a file whose mail was not confirmed is not reported as a wrong file, and no notice mail follows
- Q-4 its own text when the access-key field is off
- D-1 docs for open enrolment; staging, copies and several hosts
Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
co-authored by
Claude Fable 5.2
parent
edee3a321f
commit
85ed92bb89
@@ -40,6 +40,7 @@ export function relayPayload({ custom, endpoints = [relayConfirmEndpoint()], int
|
||||
kv: {
|
||||
delete: async (key: string) => void store.delete(key),
|
||||
get: async (key: string) => (store.has(key) ? structuredClone(store.get(key)) : null),
|
||||
keys: async () => [...store.keys()],
|
||||
set: async (key: string, value: object) => void store.set(key, structuredClone(value)),
|
||||
},
|
||||
logger,
|
||||
|
||||
Reference in New Issue
Block a user