Operating System - HP-UX
1832235 Members
2909 Online
110041 Solutions
New Discussion

unable to qualify my own domain name

 
Franklin
Occasional Contributor

unable to qualify my own domain name

when i cancel a report, show this message, what happend.?
Oct 22 11:55:13 sistemas sendmail(17127): unable to qualify my own domain name (sistemas) -- using short name.
8 REPLIES 8
Ken Hubnik_2
Honored Contributor

Re: unable to qualify my own domain name

Jean-Louis Phelix
Honored Contributor

Re: unable to qualify my own domain name

Hi,

Basically you have this problem because you don't use domain name. So the simpliest workaround is :

- In /var/mail/sendmail.cf file,uncomment the following line

#Dj$w.Foo.COM

and change it to

Dj$w.

- In /etc/hosts, define a new alias for your local host :

IP-address hostname hostname. (The dot is important).

- stop and restarts sendmail

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

Regards,

Jean-Louis.
It works for me (© Bill McNAMARA ...)
T G Manikandan
Honored Contributor

Re: unable to qualify my own domain name

Add . to the file /etc/mail/sendmail.cw

This file list all the possible names that this
host might be known as

Enter as

sistemas
sistemas.hp.com


That should take the messages off.
Revert


Robert-Jan Goossens
Honored Contributor

Re: unable to qualify my own domain name

Hi,

edit your /etc/hosts file and make an alias for your host like

145.0.0.1 db001 db001.

stop and start sendmail.

Regards,

Robert-Jan.
Juan Manuel López
Valued Contributor

Re: unable to qualify my own domain name

Hi All !!!
You have to add in /etc/mail/sendmail.cw :

localhost
lancelot
localhost
LANCELOT
localhost
LANCELOT.

The key is the point !!!.

Try this. It??s works right !

Juanma.
I would like to be lie on a beautiful beach spending my life doing nothing, so someboby has to make this job.
Hamdy Al-Sebaey
Regular Advisor

Re: unable to qualify my own domain name

Franklin,

I think you need to put this command at your /etc/hosts

ip hostname hostsname.com
example
110.112.134.15 hp hp.com



regards,
Hamdy
Thanks for sharing knowledge
Juan Manuel López
Valued Contributor

Re: unable to qualify my own domain name

Yes, Handy, of course, Franklin have to add in /etc/hosts the relay mail Ip Adress.
With this, you can " turn off " the sendmail daemon, because will send the all the mail to the relay server, and your mail will arrive to it destination.

I Hope this help you.

Juanma.
I would like to be lie on a beautiful beach spending my life doing nothing, so someboby has to make this job.
Khalid A. Al-Tayaran
Valued Contributor

Re: unable to qualify my own domain name



Hi,

In addition to the replys above and if your are not using DNS add the following file "nsswitch.conf" in the /etc directory: with this line: (this worked for me)

hosts: files [NOTFOUND=continue]

Bye.