Recovery mode: switch off an imported Stalwart web interface (#638) #639

Merged
jcoffey-dev merged 1 commits from fix/638-recovery-imported-webui into main 2026-11-25 19:11:18 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev 312243cd27 Recovery mode: switch off an imported Stalwart web interface (#638)
ci / fork-checks (pull_request) Skipped
ci / build (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 17m47s
A store brought over from Stalwart lists upstream's web interface. Normal
startup switched it off the first time inbuxa opened the store, but recovery
mode returned before that step, so the recovery console at the server's own
address was upstream's. It asks for the registry capability by its old name
(urn:stalwart:jmap) and every call was refused.

The switch-off also keyed off the store version mark, which a recovery-mode
start writes, so a store that went through recovery mode first kept serving
upstream's interface on every normal start afterwards.

The switch-off now runs in recovery mode too, and notes that it looked in
its own key (_ / Fw) instead of reading the store version. A store recovery
mode already marked has the interface switched off on its next start; an
operator who switches it back on keeps it on.
2026-11-25 11:43:04 -07:00