From owner-freebsd-questions Sat Jul 13 4: 1: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 2760B37B400 for ; Sat, 13 Jul 2002 04:01:33 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4373043E6A for ; Sat, 13 Jul 2002 04:01:32 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g6DB1Ubo021334; Sat, 13 Jul 2002 12:01:30 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g6DB1Nt8021333; Sat, 13 Jul 2002 12:01:23 +0100 (BST) Date: Sat, 13 Jul 2002 12:01:23 +0100 From: Matthew Seaman To: Stanley Hopcroft 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: <20020713110123.GC20663@happy-idiot-talk.infracaninophi> References: <20020713171729.A188@IPAustralia.Gov.AU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020713171729.A188@IPAustralia.Gov.AU> User-Agent: Mutt/1.5.1i 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 On Sat, Jul 13, 2002 at 05:17:30PM +1000, Stanley Hopcroft wrote: > Please would you let me know which FM to read or how to define a > sendmail mailer with FreeBSD 4.6-RELEASE-p1 ? > I have tried adding sms.m4 (to define an SMS mailer) to > /usr/share/sendmail/cf/mailer and adding a mailer(sms) to > /etc/mail/freebsd.mc. As far as I can tell, you're doing everything right. At least, it worked for me when I tried to reproduce what you did. 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) line at the top of the file but were perhaps a bit too enthusiastic editing down your message. So, now if you add: MAILER(sms)dnl as the last line of /etc/mail/freebsd.mc and then run: cd /etc/mail make freebsd.cf then: tail -20 freebsd.cf should show your mailer definition. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Tel: +44 1628 476614 Marlow Fax: +44 0870 0522645 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message