From owner-freebsd-questions Wed May 12 15:20:46 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.xnet.com (quake.xnet.com [198.147.221.35]) by hub.freebsd.org (Postfix) with ESMTP id 0F350153C4 for ; Wed, 12 May 1999 15:20:43 -0700 (PDT) (envelope-from drwho@xnet.com) Received: from xnet.com (drwho@typhoon.xnet.com [198.147.221.70]) by mail.xnet.com (8.8.6/XNet-3.0R) with ESMTP id RAA16943 for ; Wed, 12 May 1999 17:20:43 -0500 (CDT) Received: (from drwho@localhost) by xnet.com (8.8.6/XNet-3.0C) id RAA29797 for freebsd-questions@freebsd.org; Wed, 12 May 1999 17:20:41 -0500 (CDT) Date: Wed, 12 May 1999 17:20:41 -0500 From: drwho To: freebsd-questions@freebsd.org Subject: IP Masq breaks sendmail Message-ID: <19990512172041.A28430@typhoon.xnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have the following setup: FreeBSD 3.1-Stable with internal net addr 192.168.16.1 on interface xl0. This machine connects to the net with a static IP/hostname through pppd on interface ppp0. I am using natd to handle masquerading/aliasing here. All seems to be OK (for the most part) until I try to send mail. Since my local net does not have a registered domain name/IP addr, remote mailers often reject mail coming from my site. What I need to do is "alias" my outgoing mail (in other words, any mail NOT intended for the local network) to appear to come from my ISP assigned address and hostname. I *do* have "DMxnet.com" in my /etc/sendmail.cf, and it appears this much of it is working. But some mailers that do DNS lookups on hostnames when they receive the mail don't see this part, they only see the name assigned to my LAN, which NO ONE except my internal net should see. Any help with this would be very much appreciated. Thanks. -- Fight email spam: http://www.cauce.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message