middleman: Add a Pocket ID client for mailcow #15

Merged
dev merged 1 commits from mailcow-pocket-id into master 2026-11-27 15:35:41 +00:00

Adds a mailcow client to Pocket ID, with callback https://mail.nul.ie, and a new secret mailcow/oidc-secret.txt that is only deployed to middleman. The mail page documents the setup.

The mailcow side is set up by hand. In System → Configuration → Access → Identity Provider, choose Generic-OIDC and enter:

  • the endpoints from https://id.nul.ie/.well-known/openid-configuration
  • client ID mailcow
  • the secret, read with ragenix
  • redirect URL https://mail.nul.ie
  • scopes openid profile email

Mailboxes switched to the identity provider need mailcow app passwords for IMAP, SMTP, DAV and ActiveSync.

🤖 Generated with Claude Code

Adds a `mailcow` client to Pocket ID, with callback `https://mail.nul.ie`, and a new secret `mailcow/oidc-secret.txt` that is only deployed to `middleman`. The mail page documents the setup. The mailcow side is set up by hand. In System → Configuration → Access → Identity Provider, choose Generic-OIDC and enter: - the endpoints from `https://id.nul.ie/.well-known/openid-configuration` - client ID `mailcow` - the secret, read with `ragenix` - redirect URL `https://mail.nul.ie` - scopes `openid profile email` Mailboxes switched to the identity provider need mailcow app passwords for IMAP, SMTP, DAV and ActiveSync. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
slop-cannon Bot added 1 commit 2026-11-27 14:42:27 +00:00
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
08cb5828e8
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>
dev merged commit 08cb5828e8 into master 2026-11-27 15:35:41 +00:00
dev deleted branch mailcow-pocket-id 2026-11-27 15:35:41 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dev/nixfiles#15