1832676 Members
2836 Online
110043 Solutions
New Discussion

Sendmail Error

 
SOLVED
Go to solution
Michael D. McHam
Occasional Contributor

Sendmail Error

Hi all!

We keep getting the following irritating message:

Feb 13 10:09:02 sendmail[9957]: unable to qualify my own domain name (server_name) -- using short name

Now, after doing some investigating on HP's support knowledge base, I found that there was a patch that will change where this message is logged but it doesn't seem to fix the problem so that you don't get the message anymore. What exactly is causing this message and what can I do to fix it?

Thanks in advance for your help!

Mike
PS: This forum is terrific -- is there anyway to search it without going message by message?
4 REPLIES 4
Michael D. McHam
Occasional Contributor

Re: Sendmail Error

Ok, so I answered my own question --- do I get 10 points for being so stupid.

I'm the new guy on the block and I just found out how to search the forum (was quite as hard as it seemed at the time).

For those of you that follow in my footsteps, let me save you a little bit of trouble. To search -- hit the search button and them check the radio group Community Forum. Wow! That is so tricky :o)

Sorry to bother you.

Mike
Berlene Herren
Honored Contributor

Re: Sendmail Error

I love your enthusiasm, Michael! Thanks for using the forums.

Berlene

10 points to Michael!
http://www.mindspring.com/~bkherren/dobes/index.htm
James R. Ferguson
Acclaimed Contributor
Solution

Re: Sendmail Error

Michael:

From Knowledge Base document #KBRC00003446:

PROBLEM:

sendmail is reporting Unable to qualify my own domain name, using short name either to the terminal or the log file /var/adm/syslog/mail.log

RESOLUTION:

There are 3 possible setups that can be configured:

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.



As to your second question, there is a SEARCH button on the left for general searches including the Forum itself. You can even search for authors or responders by using the person's lastname.

If you click "Maintenance and Support" -> "Technical Knowledge Base", you can search the KB for documents by ID (as the number I cited above) or by keyword(s). Access to at least part of the KB requires a support agreement.

Welcome, and regards!

...JRF...
Michael D. McHam
Occasional Contributor

Re: Sendmail Error

Thanks Berlene for making me feel so welcome!

Thanks Jim for you complete answer !