*BSD News Article 14156


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!noc.near.net!uunet!pipex!uknet!uknet!cf-cm!paul
From: paul@isl.cf.ac.uk (Paul)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Problems porting from sun to 386bsd
Message-ID: <1993Apr7.110108.21995@cm.cf.ac.uk>
Date: 7 Apr 93 11:01:06 GMT
References: <1ptigvINNjv1@manuel.anu.edu.au> <C53sKK.8w@veda.is>
Sender: news@cm.cf.ac.uk (Network News System)
Organization: /usr/local/lib/rn/organisation
Lines: 25

In article <C53sKK.8w@veda.is> adam@veda.is (Adam David) writes:
>cml851@huxley.anu.edu.au (A.T.) writes:
>
>>2.Another question is that when mailing locally mail.local came up with the
>>message "localhost: connection refused" so I found mail.local.c and in every
>>occurance of localhost (2) replaced it with gertrude, compiled it and the
>>messages went away.
>
>You did the wrong thing :-)  (well, at least it works)
>
>The correct fix is to replace every occurence of "localhost" with "localhost."
>in the mail.local.c file.

The "correct" fix is not to change mail.local.c at all!

Actually this looks like the same problem that Jonas Olsson is having
with the resolver. There shouldn't be any need to change mail.local.c,
it works fine as it is. The problem appears to be (from other reports)
that there is not a localhost entry in the DNS database. Try ping
localhost, you'll probably get an error with that as well. 

-- 
  Paul Richards, University of Wales, College Cardiff

  Internet: paul@isl.cf.ac.uk