Skip site navigation (1)Skip section navigation (2)
Date:      05 Aug 2003 20:39:02 +0000
From:      "Kirk R. Wythers" <kwythers@umn.edu>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        freebsd Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: sendmail configuration
Message-ID:  <1060115941.23050.100.camel@lorax.forestry.umn.edu>
In-Reply-To: <3F30100A.9080004@mac.com>
References:  <BB554887.1925D%mksmith@noanet.net> <1060111750.23050.81.camel@lorax.forestry.umn.edu> <3F3008D3.8000309@mac.com> <1060113914.23050.95.camel@lorax.forestry.umn.edu> <3F30100A.9080004@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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<TMPF> /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 <ruleset> <address>
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1060115941.23050.100.camel>