From owner-freebsd-questions Tue Sep 17 14:16:25 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6A0537B401 for ; Tue, 17 Sep 2002 14:16:23 -0700 (PDT) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DF7243E6A for ; Tue, 17 Sep 2002 14:16:22 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (patr530-a025.otenet.gr [212.205.215.25]) by mailsrv.otenet.gr (8.12.4/8.12.4) with ESMTP id g8HLGF4d002029; Wed, 18 Sep 2002 00:16:16 +0300 (EEST) Received: (from keramida@localhost) by hades.hell.gr (8.11.6/8.11.6) id g8HLGDh51053; Wed, 18 Sep 2002 00:16:13 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 18 Sep 2002 00:16:10 +0300 From: Giorgos Keramidas To: sroberts@dsl.pipex.com Cc: freebsd-questions@FreeBSD.ORG, sendmail-questions@sendmail.org Subject: Re: After editing freebsd.mc, how do I use this m4 processor? Message-ID: <20020917211610.GA49065@hades.hell.gr> References: <1032296374.376.60.camel@Demon.vickiandstacey.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1032296374.376.60.camel@Demon.vickiandstacey.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-09-17 21:59, Stacey Roberts wrote: > I'd like to now set up sendmail to receive mail destined for my > (registered) domain. Now, I know I have to edited the freebsd.mc file in > /etc/mail, but after this, its not entirely clear how it is I am > supposed to proceed afterwards. The canonical way of converting .mc files to .cf on FreeBSD is to use the Makefile found in /etc/mail (originally found in /usr/src/etc/mail). Just edit freebsd.mc and then run: # make The file /usr/src/contrib/sendmail/cf/README describes that the same thing can be accomplished with a command like: # m4 -D_CF_DIR_=${CFDIR}/ ${CFDIR}/m4/cf.m4 config.mc > config.cf after having set CFDIR to the proper value, of course (in the case of FreeBSD this would be CFDIR='/usr/src/contrib/sendmail/cf'). > 1] Where it is I can find out how to use m4 to generate a .cf file? > 2] Do I still need to "run make" in /etc/mail even though sendmail was > compiled and installed at system installation time? Hopefully both have been answered :) -- FreeBSD: The Power to Serve http://www.FreeBSD.org/ FreeBSD 4.5-RELEASE-p20 #0: Tue Sep 17 15:23:24 EEST 2002 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message