From owner-freebsd-questions Tue Sep 17 14: 7:35 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 E990D37B404 for ; Tue, 17 Sep 2002 14:07:33 -0700 (PDT) Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBFF643E91 for ; Tue, 17 Sep 2002 14:07:32 -0700 (PDT) (envelope-from scott.mitchell@mail.com) Received: from fishballoon.dyndns.org ([80.4.0.215]) by mta07-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020917210729.QBUU17905.mta07-svc.ntlworld.com@fishballoon.dyndns.org>; Tue, 17 Sep 2002 22:07:29 +0100 Received: from tuatara.goatsucker.org (tuatara [192.168.1.6]) by fishballoon.dyndns.org (8.12.3/8.12.3) with ESMTP id g8HL7SPL046389; Tue, 17 Sep 2002 22:07:28 +0100 (BST) (envelope-from scott@tuatara.goatsucker.org) Received: (from scott@localhost) by tuatara.goatsucker.org (8.12.5/8.12.5/Submit) id g8HL7Sxo003296; Tue, 17 Sep 2002 22:07:28 +0100 (BST) (envelope-from scott) Date: Tue, 17 Sep 2002 22:07:28 +0100 From: Scott Mitchell To: sroberts@dsl.pipex.com Cc: FreeBSD Questions , sendmail-questions@sendmail.org Subject: Re: After editing freebsd.mc, how do I use this m4 processor? Message-ID: <20020917220728.A3039@fishballoon.dyndns.org> References: <1032296374.376.60.camel@Demon.vickiandstacey.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.2.5i In-Reply-To: <1032296374.376.60.camel@Demon.vickiandstacey.com>; from stacey@Demon.vickiandstacey.com on Tue, Sep 17, 2002 at 09:59:32PM +0100 X-Operating-System: FreeBSD 4.6-STABLE i386 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 Tue, Sep 17, 2002 at 09:59:32PM +0100, Stacey Roberts wrote: > Hello, > I've got a vanilla sendmail installation on my 4.6Stable box: > # sendmail -d0.4 -bv root > Version 8.12.5 >=20 > 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. >=20 > I read the README's in /usr/src/contrib/sendmail & /etc/mail, that's > shipped with my FBSD box, it doesn't *actually* say how to "run" m4. In > googling, I've picked up a couple for threads, that mentions m4 almost > in passing (".... then use m4 to generate your .cf file that you > later copy sendmail.cf"). >=20 > Could someone please tell me the following: >=20 > 1] Where it is I can find out how to use m4 to generate a .cf file?=20 > 2] Do I still need to "run make" in /etc/mail even though sendmail was > compiled and installed at system installation time? You need to run make in /etc/mail to generate the new sendmail.cf, submit.cf, etc. Probably 'make install' followed by 'make restart' is the best way to proceed. The Makefile itself lists the various possible targets in the comments at the top. I guess you can grovel through the Makefile to figure out exactly how m4 should be invoked, but this isn't something you actually need to know in order to reconfigure sendmail. This make has nothing to do with rebuilding the sendmail binaries -- it just deals with the configuration files. Cheers, Scott --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott.mitchell@mail.com | 0xAA775B8B | -- Anon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message