NAME

SyslogScan::Daemon::BlacklistDetector::EmailNotify - send email when blacklisted

SYNOPSIS

 bld_plugin SyslogScan::Daemon::BlacklistDetector::EmailNotify
	debug		0
	notify		your@email.here
	renotify_time	7200
	forget_time	3600
	sendfrom	root
	clean_time	1800
	maxkeep		100

DESCRIPTION

SyslogScan::Daemon::BlacklistDetector::EmailNotify sends email when SyslogScan::Daemon::BlacklistDetector detects blacklisting.

SyslogScan::Daemon::BlacklistDetector is a plugin for SyslogScan::Daemon::BlacklistDetector. The SYNOPSIS shows the configuration lines you might use in /etc/syslogscand.conf to turn on the email notification.

CONFIGURATION PARAMETERS

SyslogScan::Daemon::BlacklistDetector::EmailNotify defines the following configuration parameters which may be given in indented lines that follow plugin SyslogScan::Daemon::BlacklistDetector::EmailNotify or with the confuration prefix (blden_) anywhere in the configuration file after the plugin SyslogScan::Daemon::BlacklistDetector::EmailNotify line.

debug

(default 0) Turn on debugging.

notify

(default root) Where should the notifications be sent?

sendfrom

(default root) What email address should notifications be sent from?

renotify_time

(default 7200) Seconds. How often should an additional email be sent regarding the same destination. Before the time is up, extra notifications will be queued.

forget_time

(default 3600) Seconds. How long should unsent notifications be kept.

maxkeep

(default 100) How many unsent notifcations can be queued regarding the same destination?

clean_time

(default 1800) Seconds. How often should the unsent notication queue be cleaned of extra entries?

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.