11 lines
423 B
Text
11 lines
423 B
Text
--- alert.d/mail.alert.orig Mon Oct 12 16:03:19 2009
|
|
+++ alert.d/mail.alert Mon Oct 12 16:03:30 2009
|
|
@@ -46,7 +46,7 @@ $ALERT = $opt_u ? "UPALERT" : "ALERT";
|
|
$t = localtime($opt_t);
|
|
($wday,$mon,$day,$tm) = split (/\s+/, $t);
|
|
|
|
-open (MAIL, "| /usr/lib/sendmail -oi -t $mailfrom") ||
|
|
+open (MAIL, "| /usr/sbin/sendmail -oi -t $mailfrom") ||
|
|
die "could not open pipe to mail: $!\n";
|
|
print MAIL <<EOF;
|
|
To: $mailaddrs
|