<domain>
Enables a memory for the last fifty recipient events of the queue: deliveries, bounces and deferred messages. The depth is fixed and cannot be configured — unlike max-events-recorded, where you set the number.
A different slice than the neighboring directive. max-events-recorded remembers queue errors — “what is wrong with this recipient domain in general.” This one remembers events by address — “who got which answer.” Together they make up what the web monitor shows on the queue page: the last fifty recipient events and the last ten errors.
Where to look. show queues and show topqueues print these events by default when recording is enabled; the –no-rcpt-events option hides them. The fact that the option exists in exactly this form — “hide,” not “show” — suggests they are meant as the main way to look at a queue.
The default is false. Until you enable it, neither the console nor the web monitor will say anything about specific addresses.
The directive is useful for manual investigation, when you need to see the queue’s latest events right now without digging into accounting.
Enable it for the duration of an investigation, not forever. Put it in the block of the recipient you are investigating, and remove it afterwards. In the general block the value is multiplied by the number of queues.
On a small fleet it can be permanent. Two or three sending addresses and a dozen receivers are thirty queues, fifteen hundred events; such consumption is unnoticeable, while seeing the receiver’s latest answers is convenient.
The depth cannot be chosen. Fifty events is an engine constant, it has no setting. For another slice use max-events-recorded for queue errors or accounting for history.
# enable it where you are investigating, not across the whole fleet <domain problem-mailbox.example> track-recipient-events true max-events-recorded 50 </domain>
what people get wrong and how it ends2 mistakes▶
our experience
§ 3.3.10.15
2 relations
pmta show queues problem-mailbox.example pmta show queues --no-rcpt-events problem-mailbox.example
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.◇How the policy for a receiver is assembledSettings are assembled from the most general pattern to the most precise; the order of blocks in the file means nothing.