<source>set by the Hub
The line writes the whole protocol exchange to the log — commands one way, responses the other. The default is false.
The vendor calls it the main investigation tool. The manual’s wording is direct: enabling this directive is “usually the first and most useful step” with connectivity problems, because you can see at which step delivery failed.
The second of three levels. log-connections writes the fact of a connection, this one the conversation, log-data every byte. The difference in volume between the first and second is an order of magnitude.
Addresses and receivers’ responses go into the log in full. This is worth remembering next to log-file-world-readable: enabled together, they expose the correspondence to every user on the machine.
This is our position: the line is known, kept off and enabled by hand for the duration of an investigation. It is worth remembering that the Hub rewrites the configuration in full — a line added by hand will disappear on the next apply, and in this case that is how it should be.
Enable it temporarily and in a narrow source:
| Value | When |
|---|---|
| no (default) | normal operation |
| yes | investigation: submission fails, and you need to see at which step |
First it is worth trying the level below — log-connections: it answers the question “does it get through at all” and costs an order of magnitude less.
# investigation: you can see at which step of the conversation it all failed <source 10.0.0.7> log-connections yes log-commands true</source>
what people get wrong and how it ends2 mistakes▶
our experience
our experience
3 relations
grep -E "^\S+ \S+ \( *[0-9]+\)(<<<|>>>)" /var/log/pmta/log | tail -30
3 articles
◇What the node tells about itself and through which channelsSeven observation surfaces: the web monitor, the console in four formats, the log, accounting, accounting search, metrics and export to external analytics.◇The watchdog that restarts the engineKeeps an eye on the engine and brings it back up after a crash by itself, sending a crash report to the postmaster address.◇What makes a virtual machine riskyRunning on a virtual machine is possible, but the manual does not recommend it without sufficient hardware and properly tuned hypervisor settings: under load the node may stop responding.