Subject: pkg/24152: bug in bulk_mailer package
To: None <gnats-bugs@gnats.netbsd.org>
From: Todd Kover <kovert@omniscient.com>
List: netbsd-bugs
Date: 01/19/2004 12:04:15
>Number: 24152
>Category: pkg
>Synopsis: bulk_mailer has /usr/lib/sendmail hardcoded.
>Confidential: no
>Severity: critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 19 17:05:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Todd Kover
>Release: NetBSD 1.6.2_RC3
>Organization:
Omniscient Technologies
>Environment:
System: NetBSD neoguinness.omniscient.com 1.6.2_RC3 NetBSD 1.6.2_RC3 (GENERIC) #1: Mon Dec 15 12:06:50 EST 2003 kovert@saidin.omniscient.com:/usr/obj/1.6-stable/i386/omniscient/os/NetBSD-1.6-branch/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
bulk_mailer looks for sendmail in /usr/lib/sendmail, and as a
result fails to actually send any mail unless you have it living
there (or a link).
>How-To-Repeat:
/usr/pkg/bin/bulk_mailer owner-test@omniscient.com /tmp/listfile <~/message
>Fix:
The following rather straightforward patch will fix this.
--- bulk_mailer.c Wed May 24 15:34:33 2000
+++ bulk_mailer.c.fixed Mon Jan 19 11:58:41 2004
@@ -101,7 +101,7 @@
#include "patchlevel.h"
#ifndef PIPECOMMAND
-#define PIPECOMMAND "/usr/lib/sendmail -bs %s"
+#define PIPECOMMAND "/usr/sbin/sendmail -bs %s"
#endif
#ifndef HAVE_STRERROR
>Release-Note:
>Audit-Trail:
>Unformatted: