From nobody@FreeBSD.ORG  Sat Jul  8 18:34:08 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 21FEC37B63E; Sat,  8 Jul 2000 18:34:08 -0700 (PDT)
Message-Id: <20000709013408.21FEC37B63E@hub.freebsd.org>
Date: Sat,  8 Jul 2000 18:34:08 -0700 (PDT)
From: brett@lariat.org
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: Cannot rebuild sendmail.cf without installing full source dist
X-Send-Pr-Version: www-1.0

>Number:         19790
>Category:       bin
>Synopsis:       Cannot rebuild sendmail.cf without installing full source dist
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gshapiro
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 08 18:40:01 PDT 2000
>Closed-Date:    Tue Oct 10 10:58:35 PDT 2000
>Last-Modified:  Tue Oct 10 11:08:46 PDT 2000
>Originator:     Brett Glass
>Release:        All to date
>Organization:
>Environment:
>Description:
The "binaries only" and "kernel sources only" distribution packages
provide a copy of Sendmail as well as the m4 macro processor, but are
missing the feature macros which allow one to recompile sendmail.cf.
This makes it difficult to turn on spam elimination and security
features as well as important header rewriting features.

The relevant files are in /usr/src/contrib/, which means that currently 
the only easy way to get them at install time is to install with full 
sources. This is likely to be a waste of disk space on a production 
mail server where no software development is done.


>How-To-Repeat:

>Fix:
Recommended solution: Create a "cf" directory (in a place
such as /usr/src/contrib/sendmail, /etc/mail, /usr/local/etc/mail,
or /usr/local/etc/sendmail) where one can generate new 
sendmail.cf files in the usual fashion. 

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: sheldonh 
State-Changed-When: Mon Jul 10 05:29:34 PDT 2000 
State-Changed-Why:  
The following is taken from the FreeBSD FAQ: 

( http://www.freebsd.org/FAQ/admin.html#UUCPMAIL ) 

If you didn't install your system with full sources, the sendmail 
config stuff has been broken out into a separate source distribution 
tarball just for you. Assuming you've got your CD-ROM mounted, do: 

# cd /cdrom/src 
# cat scontrib.?? | tar xzf - -C /usr/src contrib/sendmail 


http://www.freebsd.org/cgi/query-pr.cgi?pr=19790 

From: Brett Glass <brett@lariat.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: bin/19790: Cannot rebuild sendmail.cf without installing
  full source dist
Date: Sun, 17 Sep 2000 23:39:21 -0600

 This is a followup to my earlier PR #19790. Sheldon H. closed the
 PR and replied:
 
 >The following is taken from the FreeBSD FAQ: 
 >
 >     ( http://www.freebsd.org/FAQ/admin.html#UUCPMAIL ) 
 >
 >     If you didn't install your system with full sources, the sendmail 
 >     config stuff has been broken out into a separate source distribution 
 >     tarball just for you. Assuming you've got your CD-ROM mounted, do: 
 >
 >     # cd /cdrom/src 
 >     # cat scontrib.?? | tar xzf - -C /usr/src contrib/sendmail 
 
 While it is a worthy cause to support the development of FreeBSD by buying
 CD-ROMs, ownership of a disc should not be a requirement if one wants to 
 reconfigure the system. Nor should devoting megabytes to a full source install. 
 The majority of FreeBSD users install via the Internet, and many use snapshots 
 (for which CD-ROMs are not available). Therefore, the above answer is not 
 helpful in the majority of cases. Comments on the mailing lists 
 support the notion that it is desirable to make the files required to 
 rebuild sendmail.cf (at least freebsd.mc and the files necessary to process 
 it, if not all of the examples) part of the base distribution because they 
 are so fundamental to configuring the system for proper operation.
 
 The fact that sendmail.cf resides in /etc/mail (not /usr/local/etc/mail),
 and sendmail itself resides in /usr/sbin (not /usr/local/sbin) also suggests 
 that sendmail is properly part of the base system. The ability to reconfigure 
 Sendmail to reject spam, use smrsh and/or Procmail, etc. does not correlate
 well with the need for complete source code and therefore should not require
 full sources to have been installed. Nor should it require ownership of a
 (possibly nonexistent) CD-ROM! Please reconsider making the necessary files
 (at least freebsd.mc and the files required to process it) part of the base 
 installation to save system administrators from unpleasant and time-consuming 
 surprises.
 
 --Brett Glass
 
 

From: Brett Glass <brett@lariat.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: bin/19790: Cannot rebuild sendmail.cf without installing
  full source dist
Date: Mon, 18 Sep 2000 01:26:41 -0600

 By the way, it's also worth noting that the information at 
 
 http://www.freebsd.org/FAQ/admin.html#UUCPMAIL
 
 is inaccurate. FreeBSD's default .mc file is currently 
 stored at /usr/src/etc/sendmail/freebsd.mc (see the top
 of the default sendmail.cf). This directory (and therefore
 the default .mc file) are not in the tarball.
 
 So, obtaining and exploding the tarball is not sufficient 
 to let the user copy the default .mc file, edit the copy,
 and then rebuild and install from the same place. Currently, 
 the path of least resistance is to install the full source 
 distribution, but this is very wasteful if the machine does
 not need full source.
 
 --Brett Glass
 
 
State-Changed-From-To: closed->open 
State-Changed-By: gshapiro 
State-Changed-When: Mon Sep 18 09:18:42 PDT 2000 
State-Changed-Why:  
I've been contacted regarding the issue and agree that this is an 
important change request.  The cf information should be put in an 
easily accessible location such as /usr/share/sendmail/.  Given the 
support questions we receive @sendmail.org, it's definitely an issue. 


Responsible-Changed-From-To: freebsd-bugs->gshapiro 
Responsible-Changed-By: gshapiro 
Responsible-Changed-When: Mon Sep 18 09:18:42 PDT 2000 
Responsible-Changed-Why:  
Give to sendmail maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19790 
State-Changed-From-To: open->closed 
State-Changed-By: gshapiro 
State-Changed-When: Tue Oct 10 10:58:35 PDT 2000 
State-Changed-Why:  
The sendmail cf directory is now copied to /usr/share/sendmail/cf/. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19790 
>Unformatted:
