From owner-freebsd-questions Sat Jul 13 5: 0: 2 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 A68B037B401 for ; Sat, 13 Jul 2002 04:59:58 -0700 (PDT) Received: from flora.isecure.com.au (ns1.isecure.com.au [202.125.0.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80DEA43E58 for ; Sat, 13 Jul 2002 04:59:56 -0700 (PDT) (envelope-from xwin@IPAustralia.Gov.AU) Received: from leal.isentry.net.au (leal.isecure.com.au [202.125.0.94] (may be forged)) by flora.isecure.com.au (8.11.3/8.11.3) with ESMTP id g6DBujw03970; Sat, 13 Jul 2002 21:56:45 +1000 Received: (from smap@localhost) by leal.isentry.net.au (8.12.1/8.12.1) id g6DBujIs029553; Sat, 13 Jul 2002 21:56:45 +1000 (EST) Received: from nodnsquery(10.11.3.10) by leal via smap (V5.5) id xma029527; Sat, 13 Jul 02 21:56:39 +1000 Received: from vmail.aipo.gov.au (localhost [127.0.0.1]) by gibbons.isecure.com.au (8.11.3/8.10.2) with ESMTP id g6DBudh15946; Sat, 13 Jul 2002 21:56:39 +1000 Received: from stan.aipo.gov.au (wf-149.aipo.gov.au [192.168.1.149]) by vmail.aipo.gov.au (8.11.6/8.11.6) with ESMTP id g6DBuc862396; Sat, 13 Jul 2002 21:56:38 +1000 (EST) (envelope-from xwin@IPAustralia.Gov.AU) Received: from stan.aipo.gov.au (localhost [127.0.0.1]) by stan.aipo.gov.au (8.12.3/8.12.3) with ESMTP id g6DBucbZ000940; Sat, 13 Jul 2002 21:56:38 +1000 (EST) (envelope-from xwin@IPAustralia.Gov.AU) Received: (from xwin@localhost) by stan.aipo.gov.au (8.12.3/8.12.3/Submit) id g6DBuaS5000939; Sat, 13 Jul 2002 21:56:36 +1000 (EST) X-Authentication-Warning: stan.aipo.gov.au: xwin set sender to xwin@IPAustralia.Gov.AU using -f Date: Sat, 13 Jul 2002 21:56:36 +1000 From: Stanley Hopcroft To: Matthew Seaman Cc: Questions@FreeBSD.ORG Subject: Re: How do I define a sendmail mailer in FreeBSD 4.6 (adding m4 to sendmail/cf/mailer doesn't do it) ? Message-ID: <20020713215635.A710@IPAustralia.Gov.AU> References: <20020713171729.A188@IPAustralia.Gov.AU> <20020713110123.GC20663@happy-idiot-talk.infracaninophi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020713110123.GC20663@happy-idiot-talk.infracaninophi>; from m.seaman@infracaninophile.co.uk on Sat, Jul 13, 2002 at 12:01:23PM +0100 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 Dear Sir, I am writing to thank you very much for your help in this matter. On Sat, Jul 13, 2002 at 12:01:23PM +0100, Matthew Seaman wrote: > > If you generate your sms.m4 file as before and save it into > /usr/share/sendmail/cf/mailer/ --- I take that you do have the > > PUSHDIVERT(-1) > Yes. .... snip .... > > cd /etc/mail > make freebsd.cf > The 'make freebsd.cf' is the stumbling block/reason to jump out of the bath. OTOH 'make cf' produces a $hostname.cf file that does __not__ have the mailer definition in it. The files generated by 'make freebsd.cf' and 'make cf' are identical (except for the banners and a few blank lines), but the former one has the mailer at the bottom, The $hostname.mc is being created from freebsd.mc but without copying the mailer(sms) macro. Kick kick pound biff ! The $hostname.mc file is not being updated from freebsd.mc because it exists. rm $hostname.mc make cf # works like a champ Thank you very much, Yours sincerely. -- Stanley Hopcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message