Globalrestart required
With true, the monitor logs calls made to it. Off by default, which means that by default calls to the management interface leave no trace.
The monitor has its own log — /var/log/pmta/pmtahttp.log, separate from the engine log. Denials under http-access go there too, and they are written regardless of this line.
This is the only way to find out what was done through the API. Commands sent over HTTP and configuration edits through the interface leave no other trace: the engine log does not show them. Where the key has been given to several applications, the question “who stopped the queue” cannot be answered without this line.
The manual’s wording for this line and for http-log-data coincides word for word — “whether web monitor data exchanges are logged”. Judging by the fact that the second is described as “more verbose”, this one logs the requests themselves, and that one their content as well.
The decision depends on how many people have the key:
| Value | When |
|---|---|
| false (default) | only the Hub talks to the monitor |
| true | the key is given to people or to several applications |
The volume is determined by polling frequency, not by the number of messages: this is a management log, not a delivery log.
# a trace of actions sent with the key: enable before an incident, not after http-mgmt-port 1000 http-log-requests true
what people get wrong and how it ends2 mistakes▶
our experience
our experience
1 relation
tail -f /var/log/pmta/pmtahttp.log
3 articles
◇Who is allowed to submit mail and for whom to accept itOut of the box, the node accepts submission only from the machine itself; two different questions — “who can send through us” and “for whose addresses we accept mail” — are answered by different directives.◇The group that grants management rightsMembership in the pmta group gives an unprivileged user the right to call the node’s commands and use submission.◇How the node selects a source and combines its settingsA connection falls under all source blocks whose addresses cover it, and they act merged — the narrow one overrides the wide one; named blocks are attached only by direct reference.