Lists the active configuration files: the main one, those included with the include line, and the defaults file.
The call is GET /configFile?op=listconfigfiles&format=json. Without format, the response comes in XML.
It also shows included files — the ones easy to forget when setting permissions and making a backup.
The defaults file is in the list, but it cannot be edited: installation and upgrades overwrite it entirely.
For reading, the key is not required if the requesting address has at least the operator level in http-access; the key from http-api-key in the X-API-Key header lifts the address restriction.
Parameters:
| Parameter | Required | What it sets |
|---|---|---|
| op | yes | listconfigfiles — the file list |
| format | no | json or xml, xml by default |
# active configuration files curl -s 'http://127.0.0.1:8080/configFile?format=json&op=listconfigfiles'
1 relation
Read the configuration file over the networkA neighboring catalog entry. § 8.2.3
curl -s 'http://127.0.0.1:8080/configFile?format=json&op=listconfigfiles' grep -rn '^include' /etc/pmta/config
3 articles
◇Accept, route, deliverA message’s path inside the node: accept, decide where, deliver — and all the settings live between these three steps.◇Four value types the whole config is written inBoolean, domain pattern, regular expression and time interval — defined once in § 3.2 and then used by all directives.◇Reloading settings versus restarting the serviceThe configuration is read at startup, and after that edits are picked up by the reload command — except for the directives the manual marks as requiring a restart.