custom_bounce_logger – Custom Bounce Logging

March 26, 2020

**Configuration Change. ** This feature is available in Momentum 4.2 and later.

The custom_bounce_logger is similar to the bounce_logger module. It supports the same functionality as the bounce_logger and adds the capability to append a "User_String" to the end of each bounce record. This addition can be used to include some message context data in each bounce record.

Configuration

The writing of custom_bounce_logger format logs is configured in your ecelerity.conf file. To load the custom_bounce_logger module and include the connection context variable "foo" in each log record, add the following lines to the main body of your ecelerity.conf file:

custom_bounce_logger custom_bounce_logger1 {
    bouncelog = "/var/log/ecelerity/bouncelog.cl"
    user_string = "%{vctx_conn:foo}"
 }

See Also

“bounce_logger – Momentum-Style Bounce Logging”