The procedure here is short, but the first three steps are about the license, and this is not a formality.
The key must be valid for the version being installed. The license is tied to the major version: a key from the previous one will not start the new one.
The support term is checked separately. Where the license has a field with the support end date, the current date must not exceed it — otherwise the upgrade will turn out to be impossible after the old package has already been replaced.
And only then — upgrading the package with the standard package manager.
The manual does not describe a rollback. Upgrading the package replaces the running engine, and returning to the previous version is a separate task the manual is silent about.
⚠️ And it cannot warn about expiration: the license tier and term do not come in telemetry, and the channel for vendor warnings — an email to the postmaster address — is not set in our setup (pmtawatch).
The Hub will restore the configuration after the upgrade: it keeps it with versions and applies it again. But a sending pause while the package is replaced is unavoidable.
What to check before upgrading:
| What | What skipping it risks |
|---|---|
| the key is valid for the new version | the node does not start, the old package is already gone |
| the support term has not expired | the same, but discovered later |
| the configuration is saved | it will have to be restored from memory |
| a window for the pause | replacing the package stops sending |
There is no rollback — so the checks replace it. Everything that can be learned before replacing the package has to be learned before it.
Choose the window by the queue, not by the clock. Stopping is safe for messages — they stay on disk — but it is safer to do it when the queue is smaller.
# the checks come first — the manual does not describe a rollback pmta show licenserpm -Uvh PowerMTA-new-version.rpm pmta show version && pmta test config
what people get wrong and how it ends3 mistakes▶
§ 2.6
§ 2.6
§ 2.6
2 relations
openssl-security-levelGlobalMoving to PowerMTA 6 from an earlier version is the moment when old keys and certificates are first checked by the new OpenSSL. § 3.3.1.51Engine versionThe procedure in which this command is one of the steps. inferenceLicense informationThe procedure in which this command is one of the steps. inferenceEngine version rollback and configuration via the APIThe procedure in which the mechanism is applied. inference
pmta show version && pmta show license pmta test config pmta show status
3 articles
◇The activation key is a prerequisite for installation, not a step after itWithout an activation key from SparkPost support the engine neither installs nor runs, and the license tier sets the outbound connection ceiling: on Standard everything above 200 is ignored.◇Cloud restrictionsClouds restrict outbound mail on port 25 until you ask them to lift the limit, and mailbox providers treat their address ranges with suspicion.◇How to turn a sending plan into hardwareTwo constants for sizing any node: about 2 KB of memory per queued recipient and spool space proportional to the total size of the messages.