From owner-freebsd-questions Mon May 24 23: 9:13 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 29ED414E47 for ; Mon, 24 May 1999 23:09:10 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id BAA09710; Tue, 25 May 1999 01:08:56 -0500 (CDT) (envelope-from dan) Date: Tue, 25 May 1999 01:08:56 -0500 From: Dan Nelson To: Michael Gratton Cc: freebsd-questions@FreeBSD.ORG Subject: Re: sendmail m4 files Message-ID: <19990525010855.A9588@dan.emsphone.com> References: <374A0E14.8BBEA13B@vee.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i In-Reply-To: <374A0E14.8BBEA13B@vee.net>; from "Michael Gratton" on Tue May 25 02:42:28 GMT 1999 X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (May 25), Michael Gratton said: > I went to use m4 to configure sendmail on my 2.2.7-R system, and I > couldn't find the m4 files for it. I went to the ports collection to > download to reinstall the files but I couldn't find anything in there > either. > > Is there a repository for FreeBSD-ish sendmail other than the base > install files (where I assume it is really located) from which I > could download the m4 files? > > Also, as there is no port, is upgrading sendmail a case of > downloading from the source and compiling myself? Not that I'm > complaining, it just seems a bit weird, isn't that the whole point of > the ports collection? Sendmail is part of the base OS, and its source is in /usr/src/contrib/sendmail. If all you need to do is rebuild your cf file, you can get away with only getting the contrib part of the source tree. See /usr/share/examples/cvsup/stable-supfile for a cvsup configuration that will pull the sources for you. Make sure you set tag=RELENG_2_2, or else you might pull the sources for 3.2 or 4.0. What I do is create my config file in /etc/sendmail.mc, and put this at the top: define(`_CF_DIR_',`/usr/src/contrib/sendmail/cf/')dnl include(_CF_DIR_`m4/cf.m4')dnl , which lets me simply run "m4 sendmail.mc > sendmail.cf.new" in /etc. -Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message