pkgsrc/mail/metamail/patches/patch-aq
snj 1eae14e263 Call /usr/sbin/sendmail instead of /usr/lib/sendmail. It's wrong to
assume that we want /usr/sbin/sendmail, but we don't currently have a
good solution to that problem, and this is consistent with an existing
change that was made to this package.

Closes PR pkg/24678.
2004-03-29 02:17:24 +00:00

47 lines
1.3 KiB
Text

$NetBSD: patch-aq,v 1.1 2004/03/29 02:17:24 snj Exp $
--- bin/mailserver.orig 2004-03-28 18:11:22.000000000 -0800
+++ bin/mailserver 2004-03-28 18:11:34.000000000 -0800
@@ -68,7 +68,7 @@ reproduced below. If no message appears
probably run in some circumstance other than mail delivery.
--------------------
!
- cat $TmpFile - | /usr/lib/sendmail $MAINTAINER
+ cat $TmpFile - | /usr/sbin/sendmail $MAINTAINER
# Takes the rest of the message from standard input
rm $TmpFile
exit 0
@@ -86,7 +86,7 @@ that contain ".." in the path name.
The file you requested, if it exists, will not be sent to you.
!
- /usr/lib/sendmail -t < $TmpFile
+ /usr/sbin/sendmail -t < $TmpFile
rm $TmpFile
exit 0
endif
@@ -107,7 +107,7 @@ Here is a list of the currently availabl
--------------------------------
!
ls -R >> $TmpFile
- /usr/lib/sendmail -t < $TmpFile
+ /usr/sbin/sendmail -t < $TmpFile
rm $TmpFile
exit 0
endif
@@ -135,13 +135,13 @@ Command failed:
metasend -b -t "$FromName" -f "$Subject" -m "$ct" -s "Re: $Subject"
!
- /usr/lib/sendmail -t < $TmpFile
+ /usr/sbin/sendmail -t < $TmpFile
rm $TmpFile
exit 0
endif
if ("$LOGADDR" != "") then
- /usr/lib/sendmail -t <<!
+ /usr/sbin/sendmail -t <<!
From: ${LOCALADDR}@`hostname`
To: $LOGADDR
Subject: Autosend delivery report