From owner-freebsd-questions Wed Aug 22 6:57:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clmboh1-smtp3.columbus.rr.com (clmboh1-smtp3.columbus.rr.com [65.24.0.112]) by hub.freebsd.org (Postfix) with ESMTP id C8B7237B41F for ; Wed, 22 Aug 2001 06:57:45 -0700 (PDT) (envelope-from rdickers@columbus.rr.com) Received: from chrome (dhcp31183112.columbus.rr.com [24.31.183.112]) by clmboh1-smtp3.columbus.rr.com (8.11.2/8.11.2) with SMTP id f7MDs1L08258 for ; Wed, 22 Aug 2001 09:54:01 -0400 (EDT) Message-ID: <01e601c12b13$52ecfb00$0200000a@chrome> From: "Rodney Dickerson" To: References: <20010822132032.5133E49AC8@zoe.sbs-online.com> Subject: sendmail to inside host (behind fw) Date: Wed, 22 Aug 2001 10:04:08 -0400 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am running 4.3 stable as a firewall. It has 2 nics, one that is connected to my cable modem, and the other is connected to my private network. I configured mail forwarding to send the logs to my hotmail account only as a test, and that works fine. But now I have my email server set up behind the firewall, and have registered a domain name, etc. Sending mail to and from the email server works ok from everything except the firewall. When I looked at the maillog, it says that the connection was refused by dickersonbiz.com (my domain), and the address it was using was my legal ip. So I thought that by adding an entry in /etc/hosts for dickersonbiz.com to point to my internal ip would work, but it didn't. It is still trying to go out the firewall and come back in, which I am not sure why that doesn't work anyway. /etc/host.conf has hosts as the first place to look for resolution, so that doesn't help either. I don't want mail to go out and come back anyway, so why can't it send the messages out the private nic? Hopefully this makes sense... Thanks Rod To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message