Date: Wed, 22 Aug 2001 10:04:08 -0400 From: "Rodney Dickerson" <rdickers@columbus.rr.com> To: <freebsd-questions@FreeBSD.ORG> Subject: sendmail to inside host (behind fw) Message-ID: <01e601c12b13$52ecfb00$0200000a@chrome> References: <20010822132032.5133E49AC8@zoe.sbs-online.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01e601c12b13$52ecfb00$0200000a>