
SyslogScan::Daemon::BlacklistDetector::Postfix - recognize the postfix mailer's bounce lines

bld_plugin SyslogScan::Daemon::BlacklistDetector::Postfix
debug 1
rx_ourIP 216\.240\.47\.\d+
logpath /var/log/mail.log

SyslogScan::Daemon::BlacklistDetector::Postfix knows where to find the postfix MTAs log files and how to parse them for bounce information.
SyslogScan::Daemon::BlacklistDetector::Postfix is a plugin for SyslogScan::Daemon::BlacklistDetector. The SYNOPSIS shows the configuration lines you might use in /etc/syslogscand.conf to turn on the postfix parsing.

SyslogScan::Daemon::BlacklistDetector::Postfix defines the following configuration parameters which may be given in indented lines that follow plugin SyslogScan::Daemon::BlacklistDetector::Postfix or with the confuration prefix (blden_) anywhere in the configuration file after the plugin SyslogScan::Daemon::BlacklistDetector::Postfix line.
(default 0) Turn on debugging.
(no default, optional) A regular expression to match the part of the log line that would represent the sending IP address.
(default /var/log/mail.log)

In addition to the required return elements, parse_logs() also returns:
If postfix is logging itself as postfix-somthing instead of postfix, then prefix will be the something.
The regular expression that matched.
The SyslogScan::Daemon::BlacklistDetector::Postfix object.

The context for the blacklist detector: SyslogScan::Daemon::BlacklistDetector

Copyright (C) 2006, David Muir Sharnoff <muir@idiom.com>
This module may be used and copied on the same terms as Perl itself.