Subject: Silly sendmail hostname problem...
To: None <netbsd-help@NetBSD.ORG>
From: Joel Reicher <joel@aaii.oz.au>
List: netbsd-help
Date: 01/13/1998 18:32:47
I recently installed 1.3 on a machine that is not permanently connected
to anywhere, and so does not have a domin name. Whenever sendmail tries
to do anything with 'localhost', such as newaliases or any mailing, it
barfs with a message like unable to validate hostname.
I solved this by having /etc/hosts changed from
127.0.0.1 localhost hostname
to
127.0.0.1 localhost localhost.hostname hostname
This seems to do the trick, but is it The Right Way?
- Joel Reicher