From owner-freebsd-questions Tue Sep 12 20:42:13 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA02990 for questions-outgoing; Tue, 12 Sep 1995 20:42:13 -0700 Received: from Mabuse.Vir.com (News.Vir.com [199.84.154.68]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id UAA02980 for ; Tue, 12 Sep 1995 20:42:09 -0700 Received: from zeta.avenet.com by Vir.com (8.6.10/2.0) id WAA31446; Tue, 12 Sep 1995 22:28:02 -0500 Received: (from rjbproc@localhost) by zeta.avenet.com (8.6.11/8.6.9) id WAA00221; Tue, 12 Sep 1995 22:25:31 GMT Date: Tue, 12 Sep 1995 22:25:31 +0000 () From: Robert Burns X-Sender: rjbproc@zeta.avenet.com To: "Jonathan M. Bresler" cc: questions@freebsd.org Subject: Re: Mail + Slip, HOW TO! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: questions-owner@freebsd.org Precedence: bulk > > > > New problem, can't send mail between hosts. I suspect it's related to > > > > my routing tables on each end. When I try and mail a user on HP-UX machine > > > > I get message simailar to: > > > > > > > > hpux.machine: Name server time out, etc... > > > > > > does nslookup return the expected results on both machines?? > > > neither address that you list below is in the DNS. > > > > I'm not sure what you mean, this is not an internet connected network. > > Do I have to set up some kind of name server in this case? > > sendmail needs to resolve the hostnames into ip addresses. i > assume that you have routing set up correctly--you can ping each machine > from the other. resolving hostnames into ip addresses is done by either > bind or /etc/hosts file (check your /etc/host.conf) > > nslookup is a user command to exmaine the domain name system. > > sendmail will try to find the ip address of the destination > machine, or failing that an MX record and the ip address of the machine > listed in the MX record----delivery is dependent on this translation > succeeding. > > jmb Thanks for your help. As I mentioned before, the system is a LAN. The host I was trying to reach was in my /etc/hosts file, and my host.conf was set up to try hosts before bind, so it took a while to figure it out. The problem was in sendmail.cf (FreeBSD); The OI macro had to be commented out to avoid having sendmail use the BIND server at all times. The problem on the HP side was a bit silly. Although I was sending to the right address, the host name I was using did not correspond to that of myname on the FreeBSD side and was therefore being rejected by sendmail. ----------------------------------------------------------------------------- Robert Burns (rjbproc@vir.com) Mtl., Ca. -----------------------------------------------------------------------------