[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] sendmail



On Thu, Nov 18, 1999 at 09:53:53PM -0500, Shourya Sarcar wrote:
> Dear Listers,
> 	I have connected two machines on a TCP/IP network. It runs on a
> simple hostfile mech.. ie /etc/hosts which looks like this
> 
> 192.168.166.1 lux 	lux.foo.edu
> 192.168.166.2 brutus	brutus.foo.edu
> 
> I have no problem in pinging or telnetting from lux to brutus or
> vice-versa and socket based apps run fine.
> 
> I have sendmail running on brutus but if i send a mail to someone at lux
> $mail goofy@xxxxxxxxxxx 
> the mail stays in the mail queue and sendmail -bp (after a while) shows
> that the queue hasn't been flushed . The status is "Deferred:could not
> lookup hostname"

Having the names in /etc/hosts is not good enough. You need to get
the nameservers listed in /etc/resolv.conf to know about lux and brutus.

One way to do this is to run your own named.

	-Arun

--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.