Parameter:
Router_EnableCountersInLogShort description: Adds counters for transferred / rejected / journaled mails to router log entries – helpful for reporting and event monitoring.
Profile
Parameter | Router_EnableCountersInLog |
Category | Mail / Router |
Component | Server |
Available since | 12.0 |
Supported versions | 12.0, 14.0, 14.5, 14.5.1 |
GUI equivalent | notes.ini only (no GUI) |
Possible values | 0 = off (default), 1 = add counters to log lines |
Description
For reporting and monitoring tools that evaluate the router log, the bare routing entries are often too thin – you want to see directly how many mails were transferred, rejected, or journaled.
Router_EnableCountersInLog=1 adds exactly these counters to router log lines. This makes it possible to derive volume trends, anti-spam effectiveness, or journaling activity straight from the logs, without having to poll statistics via show stat mail.* periodically.Example configuration
Router_EnableCountersInLog=1
Notes & pitfalls
- Slightly increases log volume – take into account on very chatty servers.
- Takes effect after a router restart (
tell router quit/load router).
- Pairs with
Log_MailRouting,MAIL_LOG_TO_MISCEVENTS.
- For accurate capacity monitoring, additionally collect
show stat mail.*andshow stat smtp.*.
- For SIEM integration, counters in log lines are often easier to parse than stat snapshots.