NAME

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

SYNOPSIS

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

DESCRIPTION

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.

CONFIGURATION PARAMETERS

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.

debug

(default 0) Turn on debugging.

rx_ourIP

(no default, optional) A regular expression to match the part of the log line that would represent the sending IP address.

logpath

(default /var/log/mail.log)

parse_logs() INFO

In addition to the required return elements, parse_logs() also returns:

prefix

If postfix is logging itself as postfix-somthing instead of postfix, then prefix will be the something.

rx

The regular expression that matched.

mobj

The SyslogScan::Daemon::BlacklistDetector::Postfix object.

SEE ALSO

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

LICENSE

Copyright (C) 2006, David Muir Sharnoff <muir@idiom.com>

This module may be used and copied on the same terms as Perl itself.