# (2) Added rules based paging (Stephen Johnson Nov 14, 1998)
# (3) Added checks against Acks and downtime (Stephen Johnson Mar 17, 1999)
#
-# $Id: spong-message.pl,v 1.15 2000/10/16 15:34:32 sljohnson Exp $
+# $Id: spong-message.pl,v 1.16 2000/11/30 21:27:40 sljohnson Exp $
use lib "@@LIBDIR@@";
$TEMPLATES{"$rcpt:$func"} ||
$TEMPLATES{"$func"} ||
$TEMPLATES{"$rcpt"} ||
- $TEMPLATES{"DEFAULT"};
+ $TEMPLATES{"DEFAULT"} ||
+ { 'subject' => 'spong - !!COLOR!! !!HOST!! !!SERVICE!!',
+ 'body' => '!!DATETIME!!
+!!COLOR!! !!HOST!! !!SERVICE!!
+!!SUMMARY!!',
+ };
if (! $templ) {
&error("No custom message template or default template found");