Operating System - HP-UX
1847211 Members
2559 Online
110263 Solutions
New Discussion

Re: sendmail notifications...

 
SOLVED
Go to solution
Mike Barron_3
Advisor

sendmail notifications...

I am receiveing errrors

"unable to qualify own domain name (hostname) -- using short name"

Any ideas what would cause this error...

If it is an error
6 REPLIES 6
Uday_S_Ankolekar
Honored Contributor
Solution

Re: sendmail notifications...

Hi,

Check your /etc/resolv.conf file for the Full Qualified Domain name.

Also check Dj macro in your /etc/mail/ sendmail.cf file for FQDN.
you can restart your sendmail process ater canging this value by :
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start

Goodluck
-USA..
Good Luck..
Sanjay_6
Honored Contributor

Re: sendmail notifications...

Craig Rants
Honored Contributor

Re: sendmail notifications...

Mike,

Go to the section My official domain name or Fully Qualified Domain Name - FQDN (Dj): in your sendmail.cf file and read that paragraph.
If I read your question right you may want to change your #Dj$w.Foo.COM. Then restart sendmail.

Good luck.
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Joseph Chakkery
Valued Contributor

Re: sendmail notifications...

Hello,

Probably ur nsswitch.conf file is not proper.
Can u create it again
(1) cd /etc
(2) Create nsswitch.conf in /etc by copying nsswitch.file as nsswitch.conf. (IF DNS is not enabled on ur HP server).

Regards
Joe.
Knowledge is wealth
S.K. Chan
Honored Contributor

Re: sendmail notifications...

This is from the Technical DB ..
There are 3 possible resolution ..
Using DNS:
Make sure the file /etc/resolv.conf exists, and includes the line:
domain

for example:
domain hp.com

Using /etc/hosts with a domain name:
Make sure the file /etc/hosts exists, and the first uncommented line reads:


for example:
15.1.1.1 letter.hp.com letter


Using /etc/hosts without a domain name:
Make sure the file /etc/hosts exists, and the first uncommented line reads:
.

for example:
15.1.1.1 letter letter.


Set up the Dj$w macro in /etc/mail/sendmail.cf, change it from:
#Dj$w.Foo.com
to read:
Dj$w.


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

for example:
localhost
letter
letter.


and restart sendmail.

Mike Barron_3
Advisor

Re: sendmail notifications...

Thanks everyone,

What I did was edit the /etc/mail/sendmail.cf file ad edited the line Dj$w line by adding a "." at the end of it.

I also edited the /etc/hosts file and added the name of the server at the end of the entry. i.e,



Thanks for all the help...