From owner-freebsd-questions@FreeBSD.ORG Mon May 26 18:33:09 2003 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 46D0737B401 for ; Mon, 26 May 2003 18:33:09 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99F0243F93 for ; Mon, 26 May 2003 18:33:08 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h4R1X2tq014664; Mon, 26 May 2003 20:33:02 -0500 (CDT) (envelope-from dan) Date: Mon, 26 May 2003 20:33:02 -0500 From: Dan Nelson To: Andrew Thomson Message-ID: <20030527013302.GA4442@dan.emsphone.com> References: <20030527012242.GD15113@athomson.prv.au.itouchnet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030527012242.GD15113@athomson.prv.au.itouchnet.net> X-OS: FreeBSD 5.1-BETA X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org Subject: Re: sendmail static host for domain 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, 27 May 2003 01:33:09 -0000 In the last episode (May 27), Andrew Thomson said: > I'm trying to route all email to a domain to another mail server on my > local network. > > I've setup the following: > > cat /etc/mail/mailertable > domain smtp:192.168.0.8 > > What I was hoping for was that any mail to domain would be sent via the > host mentioned. > > When I then send mail, I can see that it picks up my entry, however it > has issues.. > > May 27 11:20:51 host sm-mta[90308]: h4R1Koe0090306: > to=, > ctladdr= (80/80), delay=00:00:01, > xdelay=00:00:00, mailer=smtp, pri=30364, relay=192.168.0.8, dsn=5.1.2, > stat=Host unknown (Name server: 192.168.0.8: host not found) Put the IP in square brackets; otherwise sendmail will try to do MX lookups on the domain named "192.168.0.8". You can put []'s around anything to force sendmail to talk directly with that host instead of using MXes. -- Dan Nelson dnelson@allantgroup.com