Skip site navigation (1)Skip section navigation (2)
Date:      14 Jul 1999 15:52:52 -0500
From:      Don Croyle <croyle@gelemna.ft-wayne.in.us>
To:        Christopher Michaels <ChrisMic@clientlogic.com>
Cc:        questions@freebsd.org
Subject:   Re: Problems with sendmail masquerading..
Message-ID:  <86pv1v0x96.fsf@emerson.gelemna.ft-wayne.in.us>
In-Reply-To: Christopher Michaels's message of "Wed, 14 Jul 1999 10:47:14 -0400"

next in thread | raw e-mail | index | archive | help
Christopher Michaels <ChrisMic@clientlogic.com> writes:

> I need to configure masquerading for sendmail.  I have following the FAQ at
> sendmail.org on masquerading and still I cannot get it to work properly.
> 
> I use the DynDns.Org service to provide a hostname to my dynamic IP address.
> What I have done is used that dyndns host like a subdomain on my private
> network (it sounded good at the time).
> 
> What I need to do is change what sendmail reports as it's hostname when it
> sends/receives mail, and I can't seem to do that.  I'd prefer not to have to
> actually change the hostname of the box.  My situation is as follows.
> 
> E.g.
> 
> DOMAIN.dyndns.org resolves to my current IP address.  Internally I have
> host1.DOMAIN.dyndns.org, host2, host3, etc...  
> The FreeBSD machine is HOST1, and when sendmail tries deliver my mail it
> identifies itself to the other machine as host1.DOMAIN.dyndns.org, which (at
> this point) doesn't resolve to anything.  The other server (especially
> hub.freebsd.org) reject my mail because of this.  I just need to change what
> sendmail reports as it's hostname to be DOMAIN.dyndns.org.

I got bit by this last weekend.  What you need to do is set $j to the
name you want to report either by editing your sendmail.cf (it's under
'my official domain name' in the local info section) or, I think, by
using the confDOMAIN_NAME variable in your mc file.
-- 
I've always wanted to be a dilettante, but I've never quite been ready
to make the commitment.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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