From owner-freebsd-questions@FreeBSD.ORG Sun Apr 11 08:02:24 2004 Return-Path: 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 15CC316A4CE for ; Sun, 11 Apr 2004 08:02:24 -0700 (PDT) Received: from mail14.atl.registeredsite.com (mail14.atl.registeredsite.com [64.224.219.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF89E43D5E for ; Sun, 11 Apr 2004 08:02:23 -0700 (PDT) (envelope-from freebsd@computersthatrock.com) Received: from nhinsights.com (nhinsights.com [216.122.242.183]) i3BF2N8c031840 for ; Sun, 11 Apr 2004 15:02:23 GMT Received: from inigo (home.nhinsights.com [69.161.60.251]) by nhinsights.com (8.11.6/8.11.0) with SMTP id i3BF1g051779 for ; Sun, 11 Apr 2004 11:02:02 -0400 (EDT) (envelope-from freebsd@computersthatrock.com) From: "Rob" Cc: Date: Sun, 11 Apr 2004 11:01:51 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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: <20040411080848.GA70330@happy-idiot-talk.infracaninophile.co.uk> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: RE: Off topic but sendmail help needed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd@computersthatrock.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Apr 2004 15:02:24 -0000 When I try this, I get the error: m4: ../m4/cfhead.m4: No such file or directory So I looked for m4 and it appears to be in /usr/bin/ so I run: %/usr/bin/m4 -D_CF_DIR=/usr/share/sendmail/cf/ /usr/share/sendmail/cf/m4/cf.m4 freebsd.mc > foo.cf and get the same error. Is it telling me that m4 is not there or cfhead.m4 is missing. cfhead is located here: /usr/share/sendmail/cf/m4/cfhead.m4 -----Original Message----- From: Matthew Seaman [mailto:m.seaman@infracaninophile.co.uk] Sent: Sunday, April 11, 2004 4:09 AM To: Rob Cc: freebsd-questions@freebsd.org Subject: Re: Off topic but sendmail help needed In order to generate the sendmail.cf that you need, the command to use is: # cd /etc/mail # m4 -D_CF_DIR=/usr/share/sendmail/cf/ /usr/share/sendmail/cf/m4/cf.m4 foo.mc > foo.cf assuming that you have a load of sendmail related .m4 files under /usr/share/sendmail/cf -- you may have to substitute /usr/src/contrib/sendmail/cf instead. Then, once you're happy that it's generated a reasonable sendmail configuration file, copy foo.cf to sendmail.cf and restart sendmail.