middleman: Add a Pocket ID client for mailcow
Build llm-agents / build (pull_request) Skipped
CI / Check, build and cache nixfiles (push) Successful in 28m43s
Update docs / update (push) Failing after 1m25s

mailcow's Generic-OIDC identity provider can sign mailboxes in to
its UI and SOGo with Pocket ID. mailcow isn't NixOS, so its side is
set up by hand in the admin UI with the secret from
`mailcow/oidc-secret.txt`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit was merged in pull request #15.
This commit is contained in:
jackos1998andClaude Opus 5.5 committed 2026-11-27 14:42:21 +00:00
1 parent 712fabcb62
commit 08cb5828e8
3 files changed
+35

No files matched your search

+12
View File
@@ -33,6 +33,18 @@ The VM attaches to a dedicated, unbridged TAP (`vm-mail`). `colony` puts the poi
estuary's reverse zone). `estuary` accepts traffic to the customer prefixes
without per-port filtering; `colony` forwards it on ("trust for now").
## Sign-in with Pocket ID
mailcow's Generic-OIDC identity provider signs mailboxes in to the mailcow UI and SOGo with
Pocket ID on [`middleman`](shill/containers/middleman.md#pocket-id).
- The `mailcow` client is declared in `middleman`'s `auth.nix`; its secret
`mailcow/oidc-secret.txt` is only deployed there. On the mailcow side the provider is set up
by hand under System → Configuration → Access → Identity Provider, with that secret pasted in.
- Only mailboxes whose auth source is the identity provider use it. IMAP, SMTP and the DAV and
ActiveSync clients can't follow a redirect, so those mailboxes use mailcow app passwords there.
- Admin and domain-admin logins are unaffected.
## Notes
- ACME certificates are issued on `middleman` and pushed to the VM over SSH