Subject: Re: sendmail and new ip
To: None <netbsd-users@NetBSD.org>
From: Matthias Scheler <tron@zhadum.org.uk>
List: netbsd-users
Date: 01/12/2006 16:41:09
In article <43C65C4B.5010700@gmail.com>,
Jan Danielsson <jan.danielsson@gmail.com> writes:
> I assumed that this wouldn't mean anything other than that I would
> get a new IP, but I was (unpleasanly) surprised to notice that sendmail
> said something along the line of "unable to qualify my own domain name"
> when I restarted the system. Same messages poped up on the first console
> when my daily cron jobs started. After searching the net for suggestions
> I tried changing a line in /etc/hosts from:
>
> a.b.c.d myhost
>
> to
>
> a.b.c.d myhost myhost.
Why do you need an entry in "/etc/hosts"? Their should be DNS entries
for your public IP address (or you will run into problems anyway).
> But I still only get the error message.
What does "/var/log/maillog" say?
Kind regards
--
Matthias Scheler http://scheler.de/~matthias/