<domain>
Enables writing to the node log when and which sending addresses were taken out of service. The default is false, that is, by default no history is kept at all.
How this differs from the list of disabled addresses. The show disabled sources command shows the current state and lives in the engine’s memory: a service restart wipes it clean. The log is a file on disk; it survives a restart and answers a different question: what happened, when and in what order.
When you cannot do without it. Addresses are disabled and come back by themselves — on a timer, on a receiver’s response — and by the time of the investigation the list may be empty. Without the log there will be nothing to link “volume dropped on Tuesday” with “on Tuesday a rule disabled three addresses.”
The line is worth enabling if the node has its own mailbox provider rules with disable-source-ip: such disablings do not get into the Hub’s log, and apart from the file on the node there is no trace of them anywhere.
Enable it in the general receiver block — the history should be complete, not about selected domains.
It is cheap. An entry appears only at the moment of an event, and such events are rare: the log does not grow because of it.
Leaving false makes sense only where nobody ever disables addresses — that is, where there are neither rules with disable-source-ip nor people with access to the node console.
# history is needed for all receivers, not for selected ones <domain *> log-disabled-ips true disabled-source-ip-notify ops@example.net reenable-source-ip-after 4h </domain>
what people get wrong and how it ends2 mistakes▶
our experience
our experience
3 relations
grep -rn log-disabled-ips /etc/pmta/ grep -i "disabl" /var/log/pmta/log | tail -20
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.