summaryrefslogtreecommitdiff
blob: e174295435b20f81e52c3b41f86efcac41d7574e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
diff -urN mon-1.2.0.orig/alert.d/mail.alert mon-1.2.0/alert.d/mail.alert
--- mon-1.2.0.orig/alert.d/mail.alert	2005-04-17 09:42:26.000000000 +0200
+++ mon-1.2.0/alert.d/mail.alert	2007-09-03 18:19:50.000000000 +0200
@@ -46,7 +46,7 @@
 $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
diff -urN mon-1.2.0.orig/alert.d/netpage.alert mon-1.2.0/alert.d/netpage.alert
--- mon-1.2.0.orig/alert.d/netpage.alert	2005-04-17 09:42:26.000000000 +0200
+++ mon-1.2.0/alert.d/netpage.alert	2007-09-03 18:19:50.000000000 +0200
@@ -41,7 +41,7 @@
 
 $ALERT = $opt_u ? "UPALERT" : "ALERT";
 
-open (MAIL, "| /usr/lib/sendmail -oi -t") ||
+open (MAIL, "| /usr/sbin/sendmail -oi -t") ||
     die "could not open pipe to mail: $!\n";
 
 print MAIL <<EOF;
diff -urN mon-1.2.0.orig/clients/skymon/skymon mon-1.2.0/clients/skymon/skymon
--- mon-1.2.0.orig/clients/skymon/skymon	2005-04-17 09:42:26.000000000 +0200
+++ mon-1.2.0/clients/skymon/skymon	2007-09-03 18:20:15.000000000 +0200
@@ -233,7 +233,7 @@
 #    &load_address() || die "could not load address\n";
 #    print "$BUF";
 
-    open (MAIL, "| /usr/lib/sendmail -oi -t") ||
+    open (MAIL, "| /usr/sbin/sendmail -oi -t") ||
 	die "could not open pipe to mail: $!\n";
 print MAIL <<EOF;
 To: $ADDR