Administration
The admin panel
A tour of the admin panel in the web app - Hub status and warnings, Hub name, registration, people, invites, the Google and Microsoft sign-in clients and the mailbox overview - with every default.
The admin panel is where admins manage the Hub from the web app. This page walks through every section, what each value means and what it defaults to. Everything here can also be done or seen from the server in another way; those pages are linked where relevant.
Open it with Settings → Admin (under Hub in the settings list), or go to
/settings/admin on your Hub. Only admins see it; members who open the address get "Only admins
of your Hub can see this page." The desktop app shows the same panel for the Hub it is
connected to. If the Hub cannot be reached, the panel shows one notice ("These settings, the
people and the invites are managed on your Hub") with a retry button instead of the sections.
Status #
The top of the page shows how the Hub is doing.
| Field | What it shows |
|---|---|
| Version | The Hub's version string. A Hub built from source without a version shows a placeholder such as 0.0.0-docker or the output of git describe. |
| Running for | Time since the Hub process started. |
| People | Number of accounts. |
| Database | Size of hub.db plus its write-ahead log. |
| Mail storage | Size of blobs/: encrypted message bodies, attachments and uploads (recounted at most every 5 minutes). |
| Free disk space | Free space on the disk that holds the data directory. |
| Web address | POSTERN_PUBLIC_URL, or Not set. |
| Secure connection (https) | Yes when the public URL starts with https:// or the Hub terminates TLS itself. |
| Phone notifications | The push relay: Working, Can't be reached or Not set up (no POSTERN_RELAY_URL). Checked at most every 5 minutes. |
| Last backup | Time of the newest scheduled or manual backup in the backup directory, or Never. |
Warnings #
Above the numbers, yellow banners point out problems. Each one goes away by itself once the cause is fixed.
| Warning | Meaning and fix |
|---|---|
| "No public URL configured (POSTERN_PUBLIC_URL): links in invites and pairing codes use the address you opened the Hub with, and passkeys work only on localhost." | Set POSTERN_PUBLIC_URL to the address people use. See Configuration. |
| "No HTTPS public URL: passkeys and Google sign-in unavailable." | The public URL uses http:// and is not localhost. Put HTTPS in front: HTTPS. |
| "Less than 1 GB of free disk space left in the data directory." | Free up space or move the data directory to a bigger disk. Sync and backups fail when the disk is full. |
| "Scheduled backups are disabled (POSTERN_BACKUP_INTERVAL=0)." | Turn them back on, or make sure you back up another way. See Backups and restore. |
| "The last backup is older than expected. Check the Hub logs and the backup directory." | The newest backup is older than twice the interval plus an hour. Look for scheduled backup failed in the logs. |
| "The push relay is unreachable: mobile notifications are delayed." | Check POSTERN_RELAY_URL and that the relay runs. See Push relay. |
| "The master key file is readable by other users. Run: chmod 600 ..." | Run the command shown, as the user that owns the file. |
| "Development mode is on (POSTERN_DEV): security checks are relaxed." | Remove POSTERN_DEV on any Hub other people use. |
postern-hub doctor checks the same things and more from the server: see Doctor.
Your Hub #
| Setting | Default | Meaning |
|---|---|---|
| Name | Postern (or what you typed in the setup wizard) |
Shown on the sign-in page, in notifications, as the name of entries in authenticator apps and as the passkey site name. 1 to 80 characters. Click Save. |
| New accounts | By invite | By invite: admins add people with an invite link. Closed: nobody can join, and open invite links stop working. Saved as soon as you click. See Users and invites. |
The name is stored in the Hub's database, not in a configuration file. Authenticator entries and passkeys created before a rename keep the old name in their label; they still work.
People #
Every account, oldest first. Each row shows the name, an Admin chip for admins and a Disabled chip for disabled accounts, then the email, the number of mailboxes, "two-step verification on" when it is, and when one of their devices was last seen.
Buttons next to everyone except yourself:
| Button | What happens |
|---|---|
| Reset password… | After confirming ("Their current password stops working right away."), a dialog shows a temporary password once. All of the person's devices are signed out. |
| Disable… | The person is signed out everywhere and cannot sign in until you click Enable. Mailboxes and settings are kept. The last admin cannot be disabled. |
| Enable | Lets a disabled person sign in again. |
Invite someone opens the invite dialog: an optional email (Their email (optional): "With an address, only that person can use the link.") and the Role (Member or Admin). Create invite link shows the link to copy. See Users and invites.
Not in the panel (use the command line, see Users and invites):
- deleting an account (
postern-hub admin delete-user; people can also delete their own account); - turning off someone's two-step verification (
postern-hub admin disable-2fa); - changing the role of an existing account (not available yet, except through the API).
Open invites #
Unused invites that have not expired, newest first, with the address or "Anyone with the link", the role and when it expires. Copy link copies the link again. The bin icon revokes the invite after you confirm. Invites expire after 7 days and work once.
Sign-in with Google and Microsoft #
These are the OAuth clients people need to add Gmail and Outlook mailboxes by signing in with Google or Microsoft ("Without this they can still use an app password."). They are not used to sign in to the Hub itself.
Each provider has a status chip:
| Chip | Meaning |
|---|---|
| Not set up | No client. The provider's sign-in button is not offered when adding a mailbox. |
| Set up | A client was saved here, in the admin panel. |
| Set in the Hub's configuration | The client comes from environment variables. The fields are greyed out; change the variables instead. Environment variables always win over values saved here. |
Google (Gmail) #
The panel lists the steps and shows the exact redirect URI to register, with a copy button:
{public URL}/api/v1/oauth/callback/google. Paste the Client ID and Client secret and
click Save. To change only the ID later, leave the secret field empty (it shows dots when a
secret is stored); the stored secret is kept.
The secret is stored in the database, encrypted with the master key. Google only accepts an
HTTPS redirect URI (or localhost), so Google sign-in is offered only when the Hub is reached
over HTTPS. Full walkthrough: Gmail.
Equivalent variables: POSTERN_GOOGLE_CLIENT_ID and POSTERN_GOOGLE_CLIENT_SECRET, set together.
Microsoft (Outlook, Microsoft 365) #
Paste the Application (client) ID and the tenant (default common; also organizations,
consumers, or your tenant ID or domain), then Save. People sign in with a code on
Microsoft's page, so there is no redirect URI and no secret. Full walkthrough:
Microsoft.
Equivalent variables: POSTERN_MICROSOFT_CLIENT_ID and POSTERN_MICROSOFT_TENANT.
Note
The panel has no button to remove a saved client. You can replace it with another one, or override it with the environment variables.
Mailboxes on your Hub #
A table of every mailbox on the Hub, for spotting trouble before people notice:
| Column | Meaning |
|---|---|
| Mailbox | The address, with the mailbox's color. |
| Owner | The sign-in email of the person it belongs to. |
| Status | "Up to date", "Downloading mail, N% done", "Connecting…", "Having trouble getting new mail. Trying again automatically.", "The sign-in no longer works. Reconnect to keep getting mail." or "Paused. No new mail is fetched." Technical details shows the provider's own error text. |
| Messages | How many messages of that mailbox the Hub has stored. The Hub keeps a full copy only while its owner uses the web app, so this can be far below the real count. |
| Behind by | Time since the mailbox last finished a sync. |
Only the owner can fix a mailbox's sign-in: ask them to open Settings → Mailboxes and reconnect it. Admins cannot read or change other people's mailboxes.
What the admin panel does not have #
So you do not look for them:
- No update notice. The Hub does not check for new versions and the panel only shows the version that runs. See Upgrades.
- No backup or restore buttons. Backups run on a schedule; restores happen on the server. See Backups and restore.
- No logs view. See Logs.
- No single sign-on settings. Single sign-on is configured with
POSTERN_OIDC_*variables: Sign-in methods. - No server settings such as the public URL, push relay, TLS or storage limits. Those are environment variables: Configuration.
Defaults at a glance #
| Setting | Default | Where to change |
|---|---|---|
| Hub name | Postern |
Your Hub → Name, or the setup wizard |
| New accounts | By invite | Your Hub → New accounts |
| Invite role | Member | Invite dialog |
| Invite lifetime | 7 days | Fixed |
| Google client | Not set up | This panel or POSTERN_GOOGLE_* |
| Microsoft client | Not set up, tenant common |
This panel or POSTERN_MICROSOFT_* |