Classic: sendmail[pid]: My unqualified host name (hostname) unknown

Hi all,
I'd like to disable sendmail permanently on my "new" 220R with freshly installed SunOS 5.10 because it prints annoying messages to the system console.

Also I'm interested in how to fix the actual problem with unqualified host name.

My unqualified host name (hostname) unknown; sleeping for retry
unable to qualify my own domain name (hostname) -- using short name

I tried svcadm disable sendmail, but when I reboot, the annoying messages are still printed to system console :frowning:

Which is the "right" way to disable sendmail permanently AND/OR to fix this issue?

Kind regards,
pc

I believe you need something like this in your /etc/hosts file:

x.x.x.x yourhostname.yourdomainname loghost yourhostname
1 Like

Thanks a lot! Worked like a charm :slight_smile:

Actually I already had the right hostname in the hosts file, but myhostname.mydomainname was missing.