Re: I screwed up... (add on for ipv6 and localhost.localdomain)



Jan Gerrit Kootstra wrote:
Lisa Casey wrote:

Hi,

I'm running Sendmail on Redhat Linux 7.2. You know in the /etc/hosts file where it says:
# Do not remove the following line, or various programs
# that require network functionality will fail.

Well, I deleted that line. Now I'm trying to recreate it, but don't seem to be doing a very good job of it. It takes Sendmail literally minutes to start now (rather then a second or so) and I get this in /var/log/maillog:

Aug 11 09:46:21 Raydeus-Dee sendmail[11654]: My unqualified host name (raydeus-dee) unknown; sleeping for retry
Aug 11 09:47:21 Raydeus-Dee sendmail[11654]: unable to qualify my own domain name (raydeus-dee) -- using short name

My /etc/hosts file currently looks like this:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost
127.0.0.1 raydeus-dee localhost
207.191.185.3 raydeus-dee.jellico.com
207.191.185.3 raydeus-dee

What's wrong with it?

Lisa Casey




Lisa,


Try this



127.0.0.1 localhost localhost.localdomain
207.191.185.3 raydeus-dee.jellico.com raydeus-dee
::1 localhost6.localdomain6 localhost6



Best regards,


Jan Gerrit Kootstra

Best regards,


Jan Gerrit Kootstra
.