From s.moeding@ndh.net Wed Sep 15 06:32:20 1999
Return-Path: <s.moeding@ndh.net>
Received: from public.ndh.com (public.ndh.net [194.97.97.21])
	by hub.freebsd.org (Postfix) with ESMTP id 83EC015193
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 15 Sep 1999 06:32:18 -0700 (PDT)
	(envelope-from s.moeding@ndh.net)
Received: from elan.sfx.ddns.org (port1202.duesseldorf.ndh.net [62.40.8.202]) by public.ndh.com (8.8.7/8.8.0) with ESMTP id PAA06270 for <FreeBSD-gnats-submit@freebsd.org>; Wed, 15 Sep 1999 15:32:13 +0200 (MET DST)
Received: (from sm@localhost)
	by esprit.sfx.ddns.org (8.9.3/8.9.3) id PAA01258;
	Wed, 15 Sep 1999 15:31:55 +0200 (CEST)
	(envelope-from sm@sfx.ddns.org)
Message-Id: <199909151331.PAA01258@esprit.sfx.ddns.org>
Date: Wed, 15 Sep 1999 15:31:55 +0200 (CEST)
From: Stefan Moeding <s.moeding@ndh.net>
Reply-To: s.moeding@ndh.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: Makefile for sendmail configurations
X-Send-Pr-Version: 3.2

>Number:         13759
>Category:       bin
>Synopsis:       Makefile for sendmail configurations
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gshapiro
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 15 06:40:00 PDT 1999
>Closed-Date:    Thu Feb 22 09:56:06 PST 2001
>Last-Modified:  Thu Feb 22 09:56:30 PST 2001
>Originator:     Stefan Moeding
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
Private FreeBSD site
>Environment:

FreeBSD 3.2-STABLE with the contributed sendmail-8.9.3

>Description:

/etc/mail/Makefile contains one rule to generate the access map for
sendmail.  I have enhanced the Makefile to allow the simple creation of

 - sendmail.cf from sendmail.mc
 - /etc/aliases.db from /etc/aliases
 - all the major maps used by sendmail (mailertable, userdb, ...)

>How-To-Repeat:

>Fix:

Install the included Makefile in /etc/mail.  The Makefile contains a
small documentation section which explains the useful targets.


Stefan



begin 640 Makefile.gz
M'XL("%^>WS<"`TUA:V5F:6QE`*U76T\;1Q1^]OZ*4X($M'BM2#Q43FGK@&G<
MX(!L(K5J*QCOSMHC]F+-SD(LM/^]WYG9:R#*"WZPUS-GSO4[WYE]X[VA_0LM
MY?OE^;[W!O]N-BJGN;B7D8HE;77VH$*9DTA)BGQ'CV)')J.U3*461I+92`JR
M-%+K`O]5ED*%/2G2D$)AQ$KDDA*QS2G*M!7/91HF0L6'/Q]!0B99ZE>6)16Y
MU,-0JP>9DA%Z+0U,:SFV`B*.B3]#>E^H.*0@.G::V9:(%2SE$`LBZHFQ31^+
MUJU(9PGY26#_0=B>_THXDL(4VGEMS5K-/9$ZAHY9E>:&/1S2K'KJ&18YC:0)
M1O5);.`0!+6QYI?VJ:?;)8<>E=DXOV*QSBE$95(9PA[.MQ^K''NBB$T^TH'/
M52&DW&Y4_ZW%;$N513R]8!!"6CK'AK2HGEZ4@^09`E7IFNX20.8`OB+N'CB*
M+5``=Q^DS@&/G!XWJ*U$3-+"H9-@.)NEDK+('D3V;>9P0J(8P4:D:QD"*C1Q
MUNJ,WQ$0FZ7QCE(9R#P7>D<B,E"?9*&*=NR>+455=1\%@A;#0`\8G6ST,2M0
MVC33"33B?)QGV$0PSE25D`/&/E:SQ\IU7:0IZV]2@_VM"NX1MFL-ZW7.U7^4
M<>R`/GRE3]NO2=VO!>?QKL%8$ARP:?:D@D8G"^YH(#@9JR;!M-HYB'%8R^FG
M\_ED=GD[/T.V'938E@73,4E_[=O6'`R`J([P:26IXE$$<EGE(<R^?NRSB'99
MP4&3:+K6;(0!$F2(K#<@.L:WSHU-%.4L5N<(:N(LN\\[\:&,-5<UF<)CQG7G
MK`#PDF0J5@Q.AX,'I0USE^'%QA6H3'9-QEVF+J:3F\^+Z6'OQ#'=;42^:1T8
M];8/CERO:5EWE9%?C"WX-TY82K3!VHZ\3X'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]6MY,+CFL@(8)%_?#9#&=7YU/RWZER^=O-YX=
M30#RH?_RV\D[1B@NC@#9/[2WO_]4G[YUEZMRCTYI[^_I<H^&@H;ZF0GZ[YW3
M8/A"XQZ)NM7H*K6O3V5M-%+\<,1>9EO;;3R0$.C-=#''=4R*D(9ONT%60[2\
6\[QJ[':/??A\_9U3_P-Z+:-!;`\``%O;
`
end

>Release-Note:
>Audit-Trail:

From: Matt Behrens <mbehrens@globaldsl.com>
To: freebsd-gnats-submit@freebsd.org, s.moeding@ndh.net
Cc:  
Subject: Re: bin/13759: Makefile for sendmail configurations
Date: Wed, 06 Oct 1999 14:29:35 -0400

 The ideas for automatically updating Makefile targets for aliases,
 mailertable, userdb, etc. are good ones (and one of the few ideas I'd
 actually *like* FreeBSD to borrow from Red Hat) :-) but IMO
 sendmail.cf->sendmail.mc is probably out of place here.
 
 There already exists a translation rule in src/etc/sendmail/Makefile
 that will translate .mc files to their .cf counterparts.  To do this I
 created a new .mc file for my system (megaweapon.mc) and executed the
 following commands:
 
 	# cd /usr/src/etc/sendmail
 	# make megaweapon.mc
 	# cp /usr/obj/usr/src/sendmail/megaweapon.cf /etc/sendmail.cf
 
 There is also an option to perpetually keep your sendmail.cf in sync
 with ``make world'', if you so desire.  Read the Makefile for details
 :-)
 
 Otherwise, the changes look good.  I would recommend submitting changes
 either as a patchfile or as a shar archive in the future, I had to go
 through quite a few hoops to look at your Makefile :-)
 
Responsible-Changed-From-To: freebsd-bugs->gshapiro 
Responsible-Changed-By: gshapiro 
Responsible-Changed-When: Sat Aug 12 10:12:55 PDT 2000 
Responsible-Changed-Why:  
Assigned to sendmail maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=13759 
State-Changed-From-To: open->feedback 
State-Changed-By: gshapiro 
State-Changed-When: Wed Feb 21 21:37:20 PST 2001 
State-Changed-Why:  
I've checked in changes to the HEAD such that accomplishes all of your 
requirements.  Unless I hear otherwise, I'll close this PR in the near 
future. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=13759 
State-Changed-From-To: feedback->closed 
State-Changed-By: gshapiro 
State-Changed-When: Thu Feb 22 09:56:06 PST 2001 
State-Changed-Why:  
Submitter accepted the fix. 

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