1834255 Members
1945 Online
110066 Solutions
New Discussion

sendmail error

 
SOLVED
Go to solution
sachit patil
Regular Advisor

sendmail error

Hi guys,
I am getting following error while starting sendmail.
ukcsbpw1# ./sendmail start
WARNING: local host name (ukcsbpw1) is not qualified; fix $j in config file
/etc/mail/aliases: 7 aliases, longest 9 bytes, 88 bytes total
sendmail


Please advice .
5 REPLIES 5
sachit patil
Regular Advisor

Re: sendmail error

I see below in mail.log
=======================
Apr 16 21:20:13 ukcsbpw1 sendmail[17883]: unable to qualify my own domain name (ukcsbpw1) -- using short name
Apr 16 21:20:13 ukcsbpw1 sendmail[17883]: be sure to set domain name in Dj macro in sendmail.cf
Apr 16 21:22:13 ukcsbpw1 sendmail[19181]: unable to qualify my own domain name (ukcsbpw1) -- using short name
Apr 16 21:22:13 ukcsbpw1 sendmail[19181]: be sure to set domain name in Dj macro in sendmail.cf
Apr 16 21:24:13 ukcsbpw1 sendmail[20405]: unable to qualify my own domain name (ukcsbpw1) -- using short name
Apr 16 21:24:13 ukcsbpw1 sendmail[20405]: be sure to set domain name in Dj macro in sendmail.cf
Apr 16 21:26:13 ukcsbpw1 sendmail[21752]: unable to qualify my own domain name (ukcsbpw1) -- using short name
Apr 16 21:26:13 ukcsbpw1 sendmail[21752]: be sure to set domain name in Dj macro in sendmail.cf
Apr 16 21:28:13 ukcsbpw1 sendmail[23037]: unable to qualify my own domain name (ukcsbpw1) -- using short name
Apr 16 21:28:13 ukcsbpw1 sendmail[23037]: be sure to set domain name in Dj macro in sendmail.cf
Javed Khan_1
Valued Contributor
Solution

Re: sendmail error

check /etc/resolv.conf
Never Give Up
Robert-Jan Goossens_1
Honored Contributor

Re: sendmail error

Hi,

Add an alias to your /etc/hosts file;

add ukcsbpw1. to your /etc/hosts file

xxx.xx.x.xxx ukcsbpw1 ukcsbpw1.

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

Above is a workaround, you can use it until you have a Fully Qualified Host Name.

Best regards.
Robert-Jan
sachit patil
Regular Advisor

Re: sendmail error

Hi Robert,
This works and error eliminated.

But how to delete messages in mailq.


Regards
SAchit
sachit patil
Regular Advisor

Re: sendmail error

Changes done in nsswich.conf