Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How qualify the domain of the server

Status
Not open for further replies.

bipromeco

Technical User
Oct 9, 2002
11
0
0
US
Hello All
Do you know why my server send this message:

Dec 10 14:59:22 nameserver sendmail[915]: unable to qualify my own domain name (nameserver)- using short name.

Thanks in advance.

Regards!
 
bipromeco,

This is a very common problem.
I've been down this road many times. Here is how you fix it.

FIRST, edit the /etc/hosts file, adding an alias with a period. So if your system name was hplab1 it would look something like this.

192.168.1.1 hplab1 hplab1.

NEXT, edit the /etc/mail/sendmail.cw file adding the same entry that we did to /etc/hosts. This should be toward the end of the file.

localhost
hplab1
hplab1. <--------add this

Then stop/start sendmail and the message should never come back.

/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start


Hope this helps.

Paul
 
Paul
Thank you, I already did it and it seems that it´s working, thanks again.

Regards!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top