What happens to configuration created through the API if PowerMTA itself is rolled back to an earlier version.
To a version without the API (before 5.5) the configuration is ignored. For rollbacks between versions with the API the manual gives a table: from 6.0r1 and earlier to 5.5 — everything works; from 6.0r2 and later to 6.0r1 or 5.5 — the API is turned off, and the configuration is kept on the previously created files; from 6.0r3 and later to 6.0r2 — the API works, but hashed addresses are ignored until upgrading back.
A rollback after a failed API operation can break startup: the created files remain invalid. The manual advises doing a reload before rolling back.
What survives a rollback:
| From | To | What happens |
|---|---|---|
| 6.0r1 and earlier | 5.5 | everything works |
| 6.0r2 and later | 6.0r1, 5.5 | the API is off, configuration from the created files |
| 6.0r3 and later | 6.0r2 | the API works, hashed addresses are ignored |
# before rolling back the engine, rewrite the API files with the current configuration pmta reload
2 relations
Upgrading the engineThe procedure in which the mechanism is applied. inference
pmta show version ls -l /var/lib/pmta/config-api/
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.