Apps
Updates
How Postern's apps and the Hub update themselves, where updates come from, how they are checked, and how to turn automatic updates off.
Postern's apps and the Hub update themselves. A new version downloads quietly in the background and installs when the app restarts, or, for the Hub, at a quiet moment. You don't have to watch for releases.
Where updates come from #
Every update comes from Postern's download server, https://updates.posternmail.app.
Every package there is signed with Postern's key, and each app and the Hub has the matching
public key built in. Before an app or a Hub downloads anything, it checks the signature. After the
download, it checks the file's size and checksum. A package that isn't signed with Postern's key
is never installed, even if someone took over the download server.
The same server has the downloads for a first install: open it in a browser for a list of the current version's files.
When apps look for updates #
- When the app starts, then every 30 minutes.
- Whenever you choose Check for Updates…: the app menu on a Mac, Settings on Windows, and Help or Desktop App Options on Linux.
To stop the automatic checks, turn off Check for updates automatically in the app's settings. Check for Updates… keeps working.
Beta versions: if you want new versions before everyone else, turn on Get beta versions (Linux and Windows: settings; Mac: Settings › Updates). Betas can have more bugs.
Each app #
| App | How it updates |
|---|---|
| Mac, downloaded from the website | Downloads the update in the background, checks it, and swaps it in when you quit Postern or choose Restart. Postern needs to be in your Applications folder to replace itself. Otherwise it offers the new disk image instead. |
| Mac, from the App Store | The App Store updates it. |
| Windows | Downloads the new installer in the background, checks it, and runs it silently when you quit Postern or choose Restart. No administrator rights are needed. |
| Linux, AppImage | Downloads the new AppImage in the background, checks it, and puts it in place of the old file. The new version starts with Restart to Update, or the next time you open Postern. |
Linux, .deb |
Downloads the new package in the background and checks it. Restart to Update installs it: your system asks for your password, then Postern starts again. |
| iPhone, iPad, Apple Watch | The App Store updates them. |
A Linux copy installed some other way, or built from source, doesn't update itself. Check for Updates… still tells you when there is a newer version, and links to the download.
The Hub #
| How you installed it | How it updates |
|---|---|
With the installer (curl -fsSL https://updates.posternmail.app/install | sudo sh) |
With Update automatically on (the default; Settings › Admin), the Hub looks for a new version every 10 minutes. When it finds one, it downloads and checks it, then waits until it is quiet: no mail is being sent, no change is being written to your mail provider and no backup is running. Then it installs the update and restarts. If the new version doesn't start properly, it goes back to the old one. |
Docker, with the updater service from Postern's compose file |
The same, with the new image: the updater pulls it and recreates the Hub. |
| Docker, without the updater | Run docker compose pull && docker compose up -d yourself. |
Settings › Admin always shows the newest version, even with automatic updates off. The apps also tell you when your Hub is older than they need. For details about upgrading by hand, going back and version compatibility, see Upgrades.
What a check sends #
A check asks the download server for a small file that lists the newest version. The request contains no account, no address book, nothing about your mail and no device ID: only what every web request carries (the network address and the program's name).