From owner-freebsd-questions Tue Sep 17 14:42:12 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 72F1C37B401 for ; Tue, 17 Sep 2002 14:42:11 -0700 (PDT) Received: from aji.wilshire.net (mail.wilshire.net [64.161.77.243]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF8E443E65 for ; Tue, 17 Sep 2002 14:42:10 -0700 (PDT) (envelope-from rileyjmc@pacbell.net) Received: from emilyd (emilyd.wilshire.net [10.100.123.20]) by aji.wilshire.net (8.12.3/8.12.3) with SMTP id g8HLdEqC039007; Tue, 17 Sep 2002 14:39:16 -0700 (PDT) (envelope-from rileyjmc@pacbell.net) From: "Riley J. McIntire" To: , "Scott Mitchell" Cc: "FreeBSD Questions" , Subject: RE: After editing freebsd.mc, how do I use this m4 processor? Date: Tue, 17 Sep 2002 14:42:05 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <1032297455.376.68.camel@Demon.vickiandstacey.com> X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Importance: Normal 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 > 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 generate > a new freebsd.cf, which in turn is copied to sendmail.cf, thus producing > 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 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. make will run your.machine.name.mc through m4 to produce your.machine.name.cf. make install will cp the above to sendmail.cf. make restart will read the new .cf files. Much easier than the old method. hth, Riley To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message