AnnexGroup

Documentation

Operational readiness — the assistant for continuous operation

The page Administration → Operational readiness accompanies the operator in setting up a productive, stable system. It measures 29 checks in four groups — reachability, security, deliverability, operation — and shows for each check the status, the measured value and the test procedure, so every finding can be traced. Only the operator sees the page; tenant admins do not.

1. How to read the page

  • Colours: green, yellow, red or “unknown”. When something cannot be measured (DNS without an answer, no probe), nothing is turned green out of ignorance — the check stays “unknown” or yellow. The overall colour is the worst individual colour.
  • Two views: all groups as a list, or step by step in the assistant’s order. It starts in the first group that is not fully green.
  • Measurement: the saved state loads immediately and is at most two hours old; older than that it is re-measured in the background. A background run measures hourly. When a check changes from green or yellow to red, one email goes to every admin and the event readiness.degraded goes to the webhooks — at most one notification per check and 24 hours.

2. How to fix a finding

  1. One click fixes only what the server can safely do itself: generate a DKIM key, turn the backup plan on with at least seven generations, start a restore rehearsal, set the rate limit level to “balanced”, enforce a second factor for admins, set the queue retention to 120 hours.
  2. Every click measures first and only changes what is still missing — a second click changes nothing. Every click is recorded in the audit log with check, before and after, and the page names the way back for every fix.
  3. To copy remains everything that lies outside: MX, A/AAAA, Autodiscover/Autoconfig, backup MX in DNS, SPF, DKIM publication, DMARC, MTA-STS (TXT and CNAME record), TLS-RPT — all at the DNS provider — and PTR with the provider of the IP. The server serves the MTA-STS policy itself at /.well-known/mta-sts.txt; what is missing are the two DNS records, which the page shows for copying.

3. What resilience means here

AnnexGroup runs as one active instance. The page says “resilience” — meaning what it actually is: a backup MX holds incoming mail, the queue retention holds outgoing mail for several days, the backup with a restore rehearsal restores operation after a loss, and monitoring reports outages. There is no automatic failover to a second active instance.

4. What does not work

  • The port check measures from the inside: the server opens connections to its own public name. Whether a firewall in front is open it does not show — only an external test against the outside address measures that.
  • The password-rule check measures the configured minimum length (password_min_length in the config.yaml): green from 10 characters. New installations are set up with 12 characters; existing installations do not change until you set the value — until then the check stays yellow. A click does not set the minimum length; that is a product decision for you to make.
  • “Monitoring” means: /metrics and /ready answer. Whether a collector polls them, the server does not know.
  • The relay self-test probes the own SMTP port without a message. If the port already refuses the sender, the result stays “unknown” instead of green.
  • The second factor applies to sessions, not to access tokens (apps and agents are unaffected) — and it also hits the account of the admin who clicks: anyone without a factor sets one up under Account → Security before the administration works again.
  • State of proof: the network checks are shown against the alpha installation, not against every conceivable counterpart in the field.

5. Finding: the update helper watches a different directory

The updates check turns red with the value "helper watches …" when the installed unit of the update helper watches a different directory than the update directory below the configured data directory (data_dir).

Cause: the server places the bell file for an update under <data_dir>/updates. The unit installed with the package (launchd: WatchPaths in the plist, systemd: annexgroup-update.path with PathExists) points at the directory that was valid at setup time. Anyone who changes data_dir later or moves the data directory places the bell file where the helper never looks — every update stays put silently, without an error message. So that this case does not go unnoticed, the check reports in red which path the helper actually watches.

Remedy: bring the two sides together again: either set data_dir back to the watched path, or change the watched path in the unit to <data_dir>/updates and reload the unit (launchd: launchctl bootout and bootstrap; systemd: systemctl daemon-reload and restart annexgroup-update.path). Then measure the operational readiness again — the check turns green as soon as both paths match.

Something unclear or described wrong? Tell us — we will fix it. Your question shows us where the text falls short.