From owner-freebsd-questions@FreeBSD.ORG Sun Aug 22 20:27:17 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94FBD16A4CE for ; Sun, 22 Aug 2004 20:27:17 +0000 (GMT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0689943D1F for ; Sun, 22 Aug 2004 20:27:17 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Byyvr-0004q4-00 for ; Sun, 22 Aug 2004 22:27:15 +0200 Received: from a213-22-221-213.netcabo.pt ([213.22.221.213]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Aug 2004 22:27:15 +0200 Received: from hishadow by a213-22-221-213.netcabo.pt with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Aug 2004 22:27:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Joe Kraft Date: Sun, 22 Aug 2004 21:27:12 +0100 Lines: 27 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: a213-22-221-213.netcabo.pt User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en Sender: news Subject: sendmail from 4.10-STABLE firewall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Aug 2004 20:27:17 -0000 I'm using a 4.10-STABLE based firewall, which is happily chugging along. It's sending it's daily messages to a local account via sendmail, which I check by logging in using an ssh connection. I would like to have it send those mails to another mail server behind the firewall, but I'm curious recommendations for the best way to do that. I've looked at a couple of different ways: 1) Add the local domain DNS to it's list so it can find the IP of the local mail server. It seems like this would decrease the security of the firewall a bit. 2) The handbook has a section about setting up to send only using the mail/ssmtp port. This looks like my local mailer needs to resolve somehow (/etc/hosts??) on my firewall 3) Is there a way to convince sendmail to send to something like foo@10.0.0.55? I could just put that in my existing aliases file and not have to install anything more. 4) Better options?? I appreciate recommendations you can provide or any pointers to existing information to help me figure out the best solution. Thanks, Joe Kraft