exim_logger – Exim-Compatible Logging

March 26, 2020 Contributors

Momentum supports logging in the same style as the Open Source MTA Exim (http://www.exim.org). This is mainly of use to sites which are moving from an Exim install or otherwise have log-processing software that reads data in Exim-compliant format.

Configuration

The exim_logger module writes to two log files: a mainlog where receptions, deliveries, and delivery failures are logged, and a paniclog where errors are logged. These are configured as shown in the following stanza:

exim_logger "exim_logger1" {
  mainlog  = "/var/log/exim/mainlog"
  paniclog = "/var/log/exim/paniclog"
  log_transient_failures = false
}

Additionally, you can toggle the logging of transient failures.