From owner-freebsd-questions Sat Jul 13 0:17:45 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 53BCB37B400 for ; Sat, 13 Jul 2002 00:17:42 -0700 (PDT) Received: from figg.isecure.com.au (ns2.isecure.com.au [202.125.4.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7F1643E42 for ; Sat, 13 Jul 2002 00:17:40 -0700 (PDT) (envelope-from xwin@IPAustralia.Gov.AU) Received: from iron.isentry.net.au (iron.isecure.com.au [202.125.4.94] (may be forged)) by figg.isecure.com.au (8.11.3/8.11.3) with ESMTP id g6D7Hdn09915 for ; Sat, 13 Jul 2002 17:17:39 +1000 Received: (from smap@localhost) by iron.isentry.net.au (8.11.2/8.10.2) id g6D7Hd606615 for ; Sat, 13 Jul 2002 17:17:39 +1000 (EST) X-Authentication-Warning: iron.isentry.net.au: smap set sender to using -f Received: from nodnsquery(10.11.3.10) by iron via smap (V5.5) id xma006605; Sat, 13 Jul 02 17:17:33 +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 g6D7HXX17462 for ; Sat, 13 Jul 2002 17:17:33 +1000 Received: from stan.aipo.gov.au (wf-148.aipo.gov.au [192.168.1.148]) by vmail.aipo.gov.au (8.11.6/8.11.6) with ESMTP id g6D7HW861664 for ; Sat, 13 Jul 2002 17:17:32 +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 g6D7HWbZ000457 for ; Sat, 13 Jul 2002 17:17:32 +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 g6D7HUPt000456 for Questions@FreeBSD.ORG; Sat, 13 Jul 2002 17:17:30 +1000 (EST) X-Authentication-Warning: stan.aipo.gov.au: xwin set sender to xwin@IPAustralia.Gov.AU using -f Date: Sat, 13 Jul 2002 17:17:30 +1000 From: Stanley Hopcroft To: Questions@FreeBSD.ORG Subject: How do I define a sendmail mailer in FreeBSD 4.6 (adding m4 to sendmail/cf/mailer doesn't do it) ? Message-ID: <20020713171729.A188@IPAustralia.Gov.AU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.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 Dear Ladies and Gentlemen, 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. Here is the mailer :- $ cat /usr/share/sendmail/cf/mailer/sms.m4 .. yada .. # Hacked from fax.m4 # ifdef(`SMS_MAILER_ARGS',, `define(`SMS_MAILER_ARGS', mail2sms.pl $u )') ifdef(`SMS_MAILER_PATH',, `define(`SMS_MAILER_PATH', /usr/local/sms/bin/mail2sms.pl)') ifdef(`SMS_MAILER_MAX',, `define(`SMS_MAILER_MAX', 1000)') POPDIVERT #################################### ### SMS Mailer specification ### #################################### VERSIONID(`@(#)sms.m4 1.00 (Berkeley) 6/15/2000') Msms, P=SMS_MAILER_PATH, F=lms, M=SMS_MAILER_MAX, A=SMS_MAILER_ARGS Here is the freebsd.mc :- .. yada .. define(`confBIND_OPTS', `WorkAroundBrokenAAAA') define(`confMAX_MIME_HEADER_LENGTH', `256/128') define(`confNO_RCPT_ACTION', `add-to-undisclosed') define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') MAILER(local) MAILER(smtp) MAILER(sms) LOCAL_RULE_0 .. yada .. Adding MAILER_DEFINITIONS as recommended by /usr/share/sendmail/cf/README also failed to produce a response to grep /^Msms/ hostname.cf. I think I also tried putting the raw m4 mailer definition - not using the MAILER() macro - in freebsd.mc below MAILER DEFINITIONS. Thank you, Yours sincerely. -- Stanley Hopcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message