<source>set by the Hub
The line adds a log entry at the start and at the end of every connection from the source. The default is false.
This is the cheapest of the three levels of detail. In ascending order: this line — the fact of a connection; log-commands — the whole SMTP conversation; log-data — every byte in two forms. Volume grows by an order of magnitude with each level.
It answers one question: does the submitter reach us at all. When a platform says “cannot send” and accounting is empty, this line tells two cases apart: the connection is not established — investigate the network and the source list; it is established and closed right away — the problem is in the submission.
The line is about incoming connections, because it lives in the source block. Outgoing connections to receivers are not logged by this line.
Writing the default explicitly makes sense here: three lines in a row show whoever reads the configuration that the levels of detail are known and turned off deliberately, not forgotten. Next to them the template has the warnings “verbose” and “even more verbose”.
Enabled pointwise and temporarily:
| Value | When |
|---|---|
| no (default) | normal operation |
| yes in a narrow source | investigating one submitting platform |
| yes in 0/0 | almost never |
# investigating one submitting platform, not all at once <source 10.0.0.7> log-connections yes</source>
what people get wrong and how it ends1 mistake▶
our experience
1 relation
tail -f /var/log/pmta/log
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.