Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 1995 22:25:31 +0000 ()
From:      Robert Burns <rjbproc@Vir.com>
To:        "Jonathan M. Bresler" <jmb@kryten.atinc.com>
Cc:        questions@freebsd.org
Subject:   Re: Mail + Slip, HOW TO!
Message-ID:  <Pine.BSF.3.91.950912221209.207B-100000@zeta.avenet.com>
In-Reply-To: <Pine.3.89.9509120948.I8924-0100000@kryten.atinc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > > > 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.
-----------------------------------------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.950912221209.207B-100000>