Subject: pkg/24152: bug in bulk_mailer package
To: None <>
From: Todd Kover <>
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
>Originator:     Todd Kover
>Release:        NetBSD 1.6.2_RC3
		Omniscient Technologies
System: NetBSD 1.6.2_RC3 NetBSD 1.6.2_RC3 (GENERIC) #1: Mon Dec 15 12:06:50 EST 2003 i386
Architecture: i386
Machine: i386
	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).

	/usr/pkg/bin/bulk_mailer /tmp/listfile  <~/message

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"
-#define PIPECOMMAND "/usr/lib/sendmail -bs %s"
+#define PIPECOMMAND "/usr/sbin/sendmail -bs %s"