Troubleshooting
Health: GET /api/health returns {database, smtp} status. Logs: data/logs or systemd journal.
SMTP refuses to start: port in use - check `ss -tln | grep :25`, adjust SMTP_PORT in .env. Submission on 587 requires valid mailbox credentials; unauthenticated external delivery always returns 450.
Database locked on quick CLI runs: normal under concurrent access - busy_timeout is applied; retry if it persists.
License won't verify: ensure license-public.pem matches the issuing authority and the token wasn't truncated.