From owner-freebsd-questions Tue Sep 17 15:11:36 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 9B6E737B404 for ; Tue, 17 Sep 2002 15:11:33 -0700 (PDT) Received: from colossus.systems.pipex.net (colossus.systems.pipex.net [62.241.160.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D1E043E9C for ; Tue, 17 Sep 2002 15:11:30 -0700 (PDT) (envelope-from stacey@Demon.vickiandstacey.com) Received: from Demon (81-86-129-77.dsl.pipex.com [81.86.129.77]) by colossus.systems.pipex.net (Postfix) with ESMTP id 4460316000E05; Tue, 17 Sep 2002 23:11:25 +0100 (BST) Subject: RE: After editing freebsd.mc, how do I use this m4 processor? From: Stacey Roberts Reply-To: sroberts@dsl.pipex.com To: "Riley J. McIntire" Cc: sroberts@dsl.pipex.com, Scott Mitchell , FreeBSD Questions , sendmail-questions@sendmail.org In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-XX77WyOhB5ziSN0OH0Eh" X-Mailer: Ximian Evolution 1.0.8 Date: 17 Sep 2002 23:11:30 +0100 Message-Id: <1032300693.376.75.camel@Demon.vickiandstacey.com> Mime-Version: 1.0 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 --=-XX77WyOhB5ziSN0OH0Eh Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Thank you all for the overwhelming response to my post :-) As I mentioned to an earlier replier, These last few minutes has opened up a new, refreshing appreciation of FreeBSD to me.=20 The simplicity of this concept that escaped me is almost embarrassing, but worth it in the end. Thank you all once again! Stacey On Tue, 2002-09-17 at 22:42, Riley J. McIntire wrote: > > These would have been installed at the last time I recompiled the > > kernel. I'm fairly comfortable in editing these files as required, but = I > > am pretty certain that after editing freebsd.mc (so as to define > > masquerading, default gateway, etc), I am supposed to use m4 to generat= e > > a new freebsd.cf, which in turn is copied to sendmail.cf, thus producin= g > > a new configuration file for sendmail to read upon restart. > > > > This is what I know of sendmail (back in v8.8x & 8.9x) under AIX and > > Sequent Dynix/ptx. Has this procedure since been deprecated for FreeBSD= , > > that I am now aware of? > > > > Thanks again for the reply. > > > > Stacey >=20 > Not deprecated, but streamlined. If I understand you correctly, in > /etc/mail, copy freebsd.mc to your.machine.name.mc, then do your editing = on > it. >=20 > make will run your.machine.name.mc through m4 to produce > your.machine.name.cf. >=20 > make install will cp the above to sendmail.cf. make restart will read th= e > new .cf files. >=20 > Much easier than the old method. >=20 > hth, >=20 > Riley >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message --=20 Stacey Roberts B.Sc (HONS) Computer Science Web: www.vickiandstacey.com --=-XX77WyOhB5ziSN0OH0Eh Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQEVAwUAPYeoj5vQeubckvvXAQHJtgf+JAm8kJoD7iOaayKDJQ93/37laZJoWN1F NCLPiAaMjpLLidyp5hsKOCIEdZxo6UAXxLNYTti3Extdxmw6PDJ5d+haziyx8kEe TavsNZGj/m+LOkd5VArKdQL665tBMk68JS7TypDtQLT6OVb609euL0SzOf/T+pNn yvZr4orA5f07s+LhDZp1sP3sv/2+epsaRxo2AZU4B20gQZYF0vlM5145bMHp9SUe Arryi9Nzcd34TE4jD6AxfINGLoaQxJ3KCbiT64zZCGOzj8NvnwWHEBA0CxO+iqgi gopO/ccnB3MqyohnPfLIc48oTKXywsUKzyTRFjagjkJ/rfwIahyARw== =iGmj -----END PGP SIGNATURE----- --=-XX77WyOhB5ziSN0OH0Eh-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message