1834189 Members
2727 Online
110064 Solutions
New Discussion

Re: sendmail error

 
Chen Yingjie
Frequent Advisor

sendmail error

We always got a sendmail error message as below. Can some advice ma how to fix the problem? We are using HP9000/L2000 with HP-UX 11.00. Thank you.

the sendmail error message:

Sep 4 09:37:31 ih0k11 sendmail[1873]: unable to qualify my own domain name(ih0k11) -- using short name
10 REPLIES 10
Kofi ARTHIABAH
Honored Contributor

Re: sendmail error

Chen:

This question has been answered earlier, you can do a search in the forums for other answers.. but to get you started, the reason it happens is because sendmail expects to have a fully qualified domain name (eg. host.domain.com instead of host) so what you should do is either:
1. Edit your /etc/hosts file and put a . (full stop / period) after the hostname eg. ih0k11.
2. Edit your /etc/hosts file and put a fully qualified domain name against your host name eg. ih0k11.yourdomain.com

after this change, the next time you restart sendmail eg. (/sbin/init.d/sendmail stop ; /sbin/init.d/sendmail start) or reboot the server, your "problem" will be gone!
nothing wrong with me that a few lines of code cannot fix!
Chen Yingjie
Frequent Advisor

Re: sendmail error

Thank you for reply.
I have test it by your advices.
but it does not work normally.
The problem may gone, but a new proble is appeared.
The problem is whle we type elm, it shown a segment error, and the prompt is freezed.

chen
Berlene Herren
Honored Contributor

Re: sendmail error

Chen, first type
#sendmail -bs

and make sure that the version mentioned first agrees with the version after the /

i.e.,
ESMTP Sendmail 8.9.3 (PHNE_18546)/8.9.3;
(control C to escape)

If not, then mv /etc/mail/sendmail.cf to /etc/mail/sendmail.old THEN
cp /usr/newconfig/etc/mail/sendmail.cf /etc/mail.

Vi this file and, if you are NOT using DNS for name resolution, find the Dj$w macro, uncomment it, remove the FOO.com (leave the "." after the Dj$w). In your /etc/hosts file, add an alias for this machine like this:

19.83.44.19 myserver myserver.

Don't forget the "." at the end.

In your /etc/mail/sendmail.CW file, make sure only the names by which this server is known by is listed, along with localhost.

Then stop/restart sendmail.

Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm
John McWilliams
Advisor

Re: sendmail error

Chen - I fix this message by putting a . after the hostname in the /etc/hosts file
eg 101.4.46.231 SERVER .

Regards john
augusto cossa
Frequent Advisor

Re: sendmail error

Chen,

Try:

vi /etc/hosts and put the IP Address click tab then hostname again tab and for example hostname.co as alias name.

Good lake

Augusto

augusto cossa
Frequent Advisor

Re: sendmail error

Chen,

Try:

vi /etc/hosts and put the IP Address click tab then hostname again tab and for example hostname.co as alias name.

Good lake

Augusto

augusto cossa
Frequent Advisor

Re: sendmail error

Chen,

Try:

vi /etc/hosts and put the IP Address click tab then hostname again tab and for example hostname.co as alias name.

Good lake

Augusto

augusto cossa
Frequent Advisor

Re: sendmail error

Chen,

Try:

vi /etc/hosts and put the IP Address click tab then hostname again tab and for example hostname.co as alias name.

Good lake

Augusto

augusto cossa
Frequent Advisor

Re: sendmail error

Chen,

Try:

vi /etc/hosts and put the IP Address click tab then hostname again tab and for example hostname.co as alias name.

Good lake

Augusto

augusto cossa
Frequent Advisor

Re: sendmail error

Chen,

Try:

vi /etc/hosts and put the IP Address click tab then hostname again tab and for example hostname.co as alias name.

Good lake

Augusto