Knowledge base

Configuration

Configuration Page
🔴 A screen that changes it

Shows the main configuration file and the files included with the include line, and lets you edit them.

🔴 This is not viewing but editing: after saving, the reload happens by itself. A change that requires a service restart will not be applied by the page — the restart remains the operator’s job.

The defaults file is visible too, but it cannot be edited: installation and upgrades overwrite it entirely.

Access levels: viewing the configuration is opened by operator, editing by admin in http-access.

For a program — /configFile: reading, writing and listing files.

The main trap is thinking operator is harmless. It opens viewing of the whole configuration, which holds submission login passwords and the http-api-key lines. Whoever got operator also got the key that grants full admin access.
What the Hub does. It does not use the page: it assembles the configuration itself, puts it on the node over SSH, checks it with test config and reloads.

⚠️ An edit through this page diverges from the Hub: on the next apply it overwrites the files entirely.

Recommended values

What question the page answers:

Question This one or not
what is written in the configuration now yes — the operator level
fix a line on the fly yes — the admin level, the reload happens by itself
apply something that requires a restart no — a manual service restart
what applies to a specific pair no — show settings
The page contents, the reload on save, the caveats about restarts and the defaults file, and access levels come from the manual (§ 5.2, § 5.6, § 3.3.1.58.3). The conclusion about passwords and keys in the configuration is ours.
Example configuration
# configuration viewing for one address, editing only from the machine itself
http-access 10.0.0.5 operatorhttp-access 127.0.0.1 admin
The operator level already shows the whole configuration — together with passwords and keys.
yellow — — directive names, blue — blocks. They are highlighted the same way in the text of the card.
Compatibility
PowerMTA 6.0
described in the manual of this version · platform: any
The vendor does not state the first version for every directive — there is no note here. The name also appears in the 5.0 edition of the manual.
How to check on the node
See the access levels and check the file after an edit:
grep -n 'http-access' /etc/pmta/config
pmta test config
After an edit through the page, test config shows whether an error remains in the files.
In the Hub
Cost of a mistake
dangerous: effects outlast a rollback
Scenarios
Configuration lifecycle · Node security