From owner-freebsd-stable Fri Apr 14 22:21:34 2000 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.millennium20.com (smtp.thecyberguys.net [209.79.190.13]) by hub.freebsd.org (Postfix) with ESMTP id 5F86C37B6F9 for ; Fri, 14 Apr 2000 22:21:06 -0700 (PDT) (envelope-from glennpj@bayouhome.net) Received: from gforce.johnson.home (1Cust44.tnt2.covington.la.da.uu.net [63.31.31.44]) by smtp.millennium20.com (8.10.0/8.10.0) with SMTP id e3F5JM612760; Fri, 14 Apr 2000 22:19:23 -0700 Received: (from glenn@localhost) by gforce.johnson.home (8.9.3/8.9.3) id AAA01679; Sat, 15 Apr 2000 00:20:53 -0500 (CDT) (envelope-from glenn) From: Glenn Johnson Date: Sat, 15 Apr 2000 00:20:19 -0500 To: Steve VanDevender Cc: "Daniel C. Sobral" , Randy Bush , "Brandon D. Valentine" , FreeBSD Stable Subject: Re: sendmail.mc Message-ID: <20000415002018.A1556@gforce.johnson.home> References: <38F6265B.F1B436F0@newsguy.com> <38F6DBE1.C6BDB148@newsguy.com> <14583.23046.787588.254947@darkwing.uoregon.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <14583.23046.787588.254947@darkwing.uoregon.edu>; from stevev@darkwing.uoregon.edu on Fri, Apr 14, 2000 at 10:48:54AM -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Apr 14, 2000 at 10:48:54AM -0700, Steve VanDevender wrote: > Daniel C. Sobral writes: > > > MMmmmm... I looked into Solaris 7, and could not find a way to > > rebuild the whole system with the options and compilation flags I > > wanted. I guess they must do things a little bit different, eh? > > The point is that you _can_ build a customized sendmail configuration > file in Solaris 7 with the base OS distribution, which is much more > common than wanting to build a customized binary. We're using the > stock FreeBSD sendmail binary, but needed to change various things > in the configuration file to suit the needs of the mail system we're > running. Updating from FreeBSD 3.2 to 4.0 stomped on that customized > configuration, without any warning that was apparent to us, and we > didn't find out until one of the other admins noticed that it was no > longer building the proper alias databases. > > Fortunately I had insisted on keeping around my own copy of the > sendmail 8.9.3 distribution with our customized .mc template in it, so > I could quickly rebuild and install the .cf we wanted. All you need to do is set "SENDMAIL_CF= custom.cf" in /etc/make.conf and create 'custom.mc' in /usr/src/etc/sendmail. Then in the /usr/src/etc/sendmail directory do a 'make && make install', restart sendmail and you have your custom configuration that will not get overwritten. Even if the /etc/mail/sendmail.cf file got overwritten by mistake, you could just do the make procedure again. It sounds like you may have done a binary upgrade, as opposed to a 'make world' upgrade when you went from FreeBSD 3.2 to 4.0 in which case your /etc directory should have been backed up. The update procedure would tell you where. At least that is the way it worked when I last did that type of upgrade. -- Glenn Johnson glennpj@bayouhome.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message