Operating System - HP-UX
1836599 Members
2581 Online
110102 Solutions
New Discussion

Major problem with sendmail

 
James C. Geneva
Advisor

Major problem with sendmail

Hello All:
I seem to have a big problem with my sendmail every time I open a terminal I keep geting this message printed over and over!
Aug 24 20:12:44 wriri sendmail [3809] unable to qualify my own domain name (wriri) -- using short name.

I have a HP 725/10 C that I just installed 11.00 easy-setup as I am new to HPUX I just do not have a clue how to fix this so any help would be greatly appreciated.

Jim
HPUX Forever !
3 REPLIES 3
John Payne_2
Honored Contributor

Re: Major problem with sendmail

Jim,
Look in /etc/rc.config.d/mailservs
The file should have a line for 'export SENDMAIL_SERVER_NAME=' with an entry for the mail server.

Then look at /etc/mail/sendmail.cw This file should hold all names that the server is known by. (The instructions are in the file.)

If these are set up right, also do an nslookup for your fully qualified name, ie. nslookup wriri.jim.com, and see if you get a reponse. The nslookup will tell you where it is getting it's information, and if it says 'files' and does not give you what you want, then you have /etc/hosts as the primary place to look, and you need to edit this file.

In /etc/hosts, there will be and entry for your machine like:
192.0.0.192 wriri

change it to:
192.0.0.192 wriri wriri.jim.com

That should help if that is your problem.

Hope it helps

John
Spoon!!!!
Paul Thomson_2
Super Advisor

Re: Major problem with sendmail

Hi Jim

Funny you put this on the ITRC. I had exactly the same problem around 2 hours ago on a server.

I changed the /etc/hosts file from
130.130.31.2 gb683_1

to

130.130.31.2 gb683_1 gb683_1.tnteww.com

I got this from nslookup as already stated

gb683_1:/ # nslookup gb683_1
Using /etc/hosts on: gb683_1

looking up FILES
Name: gb683_1
Address: 130.130.31.2
Aliases: gb683_1.tnteww.com


I then stop/started sendmail and all is OK
/sbin.init.d/sendlail stop/start
Argh ye land lovers !
T G Manikandan
Honored Contributor

Re: Major problem with sendmail

In addition to the answers above you can also do this
Edit
/etc/mail/sendmail.cw which needs a list of all the names by which this host will be known.

YOu can make entry in the file like


.VIR.VL
Then re-start sendmail to check those messages dont appear again.

Thanks