Start here
Requirements
What you need to run a Postern Hub and the apps: the machine, its system, memory, disk, network and clock, your mailboxes and the apps.
What you need before the setup guide. The short version: a 64-bit Linux machine that stays on, and a way for your devices to reach it.
The Hub's machine #
| System | 64-bit Linux on amd64 (x86-64) or arm64 (aarch64). The installer supports Debian 12 or newer, Ubuntu 22.04 or newer, Raspberry Pi OS (64-bit), Fedora 40 or newer, and RHEL, Rocky Linux and AlmaLinux 9 or newer. Other Linux systems work with Docker. 32-bit systems are not supported. |
| Docker or systemd | The installer runs the Hub in Docker (it installs Docker if needed) or as a systemd service. Docker needs Docker Engine 23 or newer with the Compose plugin. |
| Memory | 1 GB is enough for a household. On machines with less, choose the native service instead of Docker. The design target is about 5 people and 20 mailboxes in roughly 150 MB for the Hub itself; that is a goal, not a measurement. |
| Disk | A few GB for most people. The Hub keeps a copy of your mail (bodies of the last 30 days are fetched ahead, older ones on demand) and its daily backups. Prefer an SSD over an SD card: the Hub writes its database often. |
| Network | Outbound connections to your mail providers (IMAP, SMTP, HTTPS) and to Postern's download server for updates. No inbound port is needed for mail, so the Hub works behind a home router and CGNAT. |
| Clock | Accurate time (NTP, on by default on every supported system). Two-step codes, certificates and schedules depend on it. |
| Always on | Rules, snoozes, follow-ups, scheduled sends and push notifications only happen while the Hub runs. |
Good machines: a Raspberry Pi 4 or 5, an old PC or laptop, a NAS that runs Docker, or a small VPS. A Mac is not supported as a server: it sleeps, and Docker Desktop needs a signed-in user.
Reaching the Hub #
Your devices need a way to reach the Hub. The installer sets up one of these:
| Way | You need |
|---|---|
| This machine's address on your network | Nothing. Plain HTTP, so no passkeys and no Google sign-in; phones only at home. |
| A domain with HTTPS (Caddy) | A domain that points at the machine, and ports 80 and 443 open to it. |
| Behind your own reverse proxy | Your proxy (nginx, Caddy, Traefik, ...) and a domain. |
| Only on Tailscale | A free Tailscale account, and Tailscale on every device that uses Postern. |
| Cloudflare Tunnel | A domain on Cloudflare. Cloudflare can read the traffic. |
Passkeys, signing in with Google for Gmail, Microsoft's browser sign-in and browser notifications need HTTPS. See Reaching your Hub for the details of each way.
Mailboxes #
Any mailbox you can reach over IMAP and SMTP works, plus Gmail and Microsoft 365 through their APIs and Fastmail through JMAP. Some providers need preparation:
| Provider | You need |
|---|---|
| Gmail, Google Workspace | 2-Step Verification and an app password, or your own Google Cloud OAuth client |
| Microsoft 365, Outlook.com | Your own app registration in Microsoft Entra (free) |
| iCloud, Yahoo, AOL | 2-factor authentication and an app-specific password |
| Fastmail | An API token or an app password |
Details per provider: Connect mailboxes.
The apps #
| App | Needs |
|---|---|
| Web | A current browser. Your Hub serves it. |
| Mac | macOS 15 or later, Apple silicon or Intel. |
| Windows | Windows 10 (version 1809 or later) or 11, x64 or ARM64. |
| Linux | A .deb for Debian and Ubuntu, or an AppImage for any distribution, x86-64 or ARM64. |
| iPhone, iPad, Apple Watch | Coming to the App Store. |
| Android | Built from source for now. |
Downloads are on the download page. See Apps.
Push notifications on phones #
Optional. Phones get notifications through a push relay that holds the Apple and Google push
credentials for the app build. The official relay (https://relay.posternmail.app)
serves the App Store and TestFlight app on Apple devices; for a self-built app or Android you
run your own, which needs an Apple Developer account (iOS) or a Firebase project (Android).
See How push works.
Building from source #
Not needed for the installer. To build the Hub or the apps yourself you need Git, Go and
Node.js with pnpm; the exact versions come from hub/go.mod and package.json. See
Build from source and development.