From owner-freebsd-questions@FreeBSD.ORG Tue Aug 5 13:34:36 2003 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 948D937B404 for ; Tue, 5 Aug 2003 13:34:36 -0700 (PDT) Received: from mhub-m2.tc.umn.edu (mhub-m2.tc.umn.edu [160.94.23.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0208543FBD for ; Tue, 5 Aug 2003 13:34:34 -0700 (PDT) (envelope-from kwythers@umn.edu) Received: from [128.101.74.47] (x74-47.forestry.umn.edu [128.101.74.47] (may be forged)) by mhub-m2.tc.umn.edu with ESMTP; Tue, 5 Aug 2003 15:34:34 -0500 (CDT) X-Umn-Remote-Mta: [N] x74-47.forestry.umn.edu #+HF+LO From: "Kirk R. Wythers" To: Chuck Swiger In-Reply-To: <3F30100A.9080004@mac.com> References: <1060111750.23050.81.camel@lorax.forestry.umn.edu> <3F3008D3.8000309@mac.com> <1060113914.23050.95.camel@lorax.forestry.umn.edu> <3F30100A.9080004@mac.com> Content-Type: text/plain Message-Id: <1060115941.23050.100.camel@lorax.forestry.umn.edu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 05 Aug 2003 20:39:02 +0000 Content-Transfer-Encoding: 7bit cc: freebsd Questions Subject: Re: sendmail configuration X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2003 20:34:36 -0000 On Tue, 2003-08-05 at 20:14, Chuck Swiger wrote: > Hi, Kirk-- > > Kirk R. Wythers wrote: > [ ... ] > > 1. cp freebsd.mc neighborsunited.net.mc > > 2. emacs neighborsunited.net.mc and added the lines: > > > > MASQUERADE_AS(`neighborsunited.net')dnl > > FEATURE(masquerade_envelope)dnl > > above the lines: > > MAILER(local) > > MAILER(smtp) > > 3. make > > 4. make install-cf CF=neighborsunited.net > > 5. make restart > > > > what am I messing up here? > > Try using the following as your neighborsunited.net.mc file: > > VERSIONID(`$FreeBSD: testing $') > OSTYPE(freebsd4) > DOMAIN(generic) > > FEATURE(access_db, `hash -o -T /etc/mail/access') > FEATURE(blacklist_recipients) > FEATURE(local_lmtp) > FEATURE(mailertable, `hash -o /etc/mail/mailertable') > FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') > FEATURE(masquerade_envelope)dnl > MASQUERADE_AS(`neighborsunited.net')dnl > > define(`confBIND_OPTS', `WorkAroundBrokenAAAA') > define(`confNO_RCPT_ACTION', `add-to-undisclosed') > define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') > MAILER(local) > MAILER(smtp) > > ...and retry creating the .cf file by: > > make install-cf SENDMAIL_MC=neighborsunitied.net.mc > > ...and see whether that does any better. I replaced neighborsunited.net.mc with what you suggested (I left the reference to freebsd4, even though I'm running 5) but the ech command gives the same result: root@lorax:177 echo "3,0 postmaster@lorax.forestry.umn.edu" | sendmail -bt ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter
> canonify input: postmaster @ lorax . forestry . umn . edu Canonify2 input: postmaster < @ lorax . forestry . umn . edu > Canonify2 returns: postmaster < @ x74-47 . forestry . umn . edu . > canonify returns: postmaster < @ x74-47 . forestry . umn . edu . > parse input: postmaster < @ x74-47 . forestry . umn . edu . > Parse0 input: postmaster < @ x74-47 . forestry . umn . edu . > Parse0 returns: postmaster < @ x74-47 . forestry . umn . edu . > ParseLocal input: postmaster < @ x74-47 . forestry . umn . edu . > ParseLocal returns: postmaster < @ x74-47 . forestry . umn . edu . > Parse1 input: postmaster < @ x74-47 . forestry . umn . edu . > Parse1 returns: $# local $: postmaster parse returns: $# local $: postmaster sendmail appears to still be sending to x74-47.forestry.umn.edu -- Kirk R. Wythers Department of Forest Resources Tel: 612.625.2261 University of Minnesota Fax: 612.625.521 1530 Cleveland Ave. N Email: kwythers@umn.edu Saint Paul, MN 55108 USA