From owner-freebsd-questions@FreeBSD.ORG Wed Mar 19 16:25:32 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0C2B106566C for ; Wed, 19 Mar 2008 16:25:32 +0000 (UTC) (envelope-from freebsd08@dfwlp.com) Received: from pollux.dfwlp.com (rrcs-64-183-212-244.sw.biz.rr.com [64.183.212.244]) by mx1.freebsd.org (Postfix) with ESMTP id 776738FC15 for ; Wed, 19 Mar 2008 16:25:32 +0000 (UTC) (envelope-from freebsd08@dfwlp.com) Received: from athena.dfwlp.com (athena.dfwlp.com [192.168.125.82]) (authenticated bits=0) by pollux.dfwlp.com (8.14.2/8.14.2) with ESMTP id m2JG6EuL080185 for ; Wed, 19 Mar 2008 11:06:15 -0500 (CDT) (envelope-from freebsd08@dfwlp.com) From: Jonathan Horne To: freebsd-questions@freebsd.org Date: Wed, 19 Mar 2008 11:06:12 -0500 User-Agent: KMail/1.9.7 References: <47E12696.6010700@rowyerboat.com> In-Reply-To: <47E12696.6010700@rowyerboat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803191106.12505.freebsd08@dfwlp.com> X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on pollux.dfwlp.com Subject: Re: Problem creating sendmail.cf file from .mc using /usr/bin/m4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Mar 2008 16:25:32 -0000 On Wednesday 19 March 2008 09:43:34 am Stephen Allen wrote: > Hello, > > When I run /usr/bin/m4 freebsd.mc, the output looks ok, except that none > of the define() lines show up in the output - even when running m4 on an > unaltered freebsd.mc. > > Can anyone help? > > Many thanks, > Steve > the generally accepted way, is to: cd /etc/mail make all then, there will appear some configuration files that are of the name of the server. make all your edits to the [hostname].mc. then, finish up with: make all install restart dont bother trying to edit the freebsd.mc file... mergemaster will stomp your changes with a fresh copy of that file each time you upgrade. cheers, -- Jonathan Horne http://dfwlpiki.dfwlp.org freebsd08 _@_ dfwlp.com