From trost@cloud.rain.com  Tue May 26 09:33:10 1998
Received: from jli.com (jli.com [199.2.111.1])
          by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA28841
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 26 May 1998 09:33:07 -0700 (PDT)
          (envelope-from trost@cloud.rain.com)
Received: (qmail 17949 invoked by uid 4); 26 May 1998 16:32:32 -0000
Received: (qmail 3521 invoked by uid 236); 26 May 1998 16:31:53 -0000
Message-Id: <19980526163153.3520.qmail@grey.cloud.rain.com>
Date: 26 May 1998 16:31:53 -0000
From: trost@cloud.rain.com
Reply-To: trost@cloud.rain.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: NO_SENDMAIL should include /bin/rmail
X-Send-Pr-Version: 3.2

>Number:         6762
>Category:       bin
>Synopsis:       NO_SENDMAIL should include /bin/rmail
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 26 09:30:01 PDT 1998
>Closed-Date:    Wed May 27 02:25:28 PDT 1998
>Last-Modified:  Wed May 27 02:25:37 PDT 1998
>Originator:     Bill Trost
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
Trost Computing
>Environment:

Source-built FreeBSD on a system running qmail or smail.

>Description:

"make world" replaces /bin/rmail even when NO_SENDMAIL has been set to
true in /etc/make.conf.  Both qmail and smail use a different rmail, so
replacing rmail is a Bad Thing.

>How-To-Repeat:

See problem description.

>Fix:

This has not been tested, but nothing can go rong.
	
--- /usr/src/bin/Makefile	Thu May 14 08:57:41 1998
+++ /tmp/Makefile	Tue May 26 09:29:06 1998
@@ -2,8 +2,12 @@
 #	$Id: Makefile,v 1.11 1998/05/09 06:42:52 jb Exp $
 
 SUBDIR= cat chio chmod cp csh date dd domainname echo ed expr hostname \
-	kill ln ls mkdir mv pax pwd rcp rm rmail rmdir sh sleep \
+	kill ln ls mkdir mv pax pwd rcp rm rmdir sh sleep \
 	stty sync test
+
+.if !defined(NO_SENDMAIL)
+SUBDIR+=rmail
+.endif
 
 .if ${MACHINE_ARCH} == "i386"
 SUBDIR+=df ps


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Wed May 27 02:25:28 PDT 1998 
State-Changed-Why:  
committed thanks! 
>Unformatted:
