/usr restored, sendmail still not functioning

With a little work, I restored the /usr directory, but I now receive the following message:  
unable to qualify my own domain (hostname) -- using short name

Thanks in advance

PS Thanks for the quick response.
qcolesAsked:
Who is Participating?
 
essuuConnect With a Mentor Commented:
To fix immediately, type

domainname -s <yourdomainname>

To maintain this fix across reboots, edit the file /etc/defaultdomain so that it contains your domain name.
0
 
davidmwilliamsCommented:
 Have you specified your own domain name, using the domainname command, and also by specify the default domain in /etc/resolv.conf?
  Also, make sure you have both the short and full names for your host on the same line in /etc/hosts

e.g.

134.148.224.157  qed   qed.newcastle.edu.au
0
 
davidmwilliamsCommented:
I will point out I already advised the domainname command ...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.