From owner-freebsd-questions Wed Jul 14 13:54:17 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gelemna.ft-wayne.in.us (fw-line-26.fwi.com [209.84.172.31]) by hub.freebsd.org (Postfix) with ESMTP id 7D9F114DCD for ; Wed, 14 Jul 1999 13:54:07 -0700 (PDT) (envelope-from croyle@gelemna.ft-wayne.in.us) Received: (from croyle@localhost) by gelemna.ft-wayne.in.us (8.9.3/8.9.3) id PAA16500; Wed, 14 Jul 1999 15:52:54 -0500 (EST) (envelope-from croyle) To: Christopher Michaels Cc: questions@freebsd.org Subject: Re: Problems with sendmail masquerading.. Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII From: Don Croyle Date: 14 Jul 1999 15:52:52 -0500 Organization: Minimal at best In-Reply-To: Christopher Michaels's message of "Wed, 14 Jul 1999 10:47:14 -0400" Message-ID: <86pv1v0x96.fsf@emerson.gelemna.ft-wayne.in.us> Lines: 30 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Christopher Michaels 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