From owner-freebsd-questions@FreeBSD.ORG Tue Aug 24 21:49:06 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 4803016A4CE for ; Tue, 24 Aug 2004 21:49:06 +0000 (GMT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id A449943D2F for ; Tue, 24 Aug 2004 21:49:05 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BzjA8-0000u4-00 for ; Tue, 24 Aug 2004 23:49:04 +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 ; Tue, 24 Aug 2004 23:49:04 +0200 Received: from hishadow by a213-22-221-213.netcabo.pt with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Aug 2004 23:49:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Joe Kraft Date: Tue, 24 Aug 2004 22:49:01 +0100 Lines: 33 Message-ID: References: <412A017F.5020201@mac.com> 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 In-Reply-To: <412A017F.5020201@mac.com> Sender: news Subject: Re: 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: Tue, 24 Aug 2004 21:49:06 -0000 Chuck Swiger wrote: > Joe Kraft wrote: > >> 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. > > [ ... ] > >> 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. > > > The key part of your request is answered by using IP addrs in square > brackets, which will not require DNS MX or A lookups. So, add something > like: > > foo@[10.0.0.55] > > ...to the ~/.forward file of root or wherever the mail is going to now. > Yes, you could put this in the aliases, or even use a mailertable to > redirect all local mail to the other system. > I tried doing it that way and it wouldn't go out either. I wound up adding the 10.0.0.55 server to /etc/hosts and letting sendmail do it's lookup there. I never convinced sendmail to send to to the user foo on the 10.0.0.55 server, is that supposed to be possible? Joe.