1829571 Members
3991 Online
109992 Solutions
New Discussion

Sendmail Problem...

 
Alpha977
Valued Contributor

Sendmail Problem...

Hello! When i try to start sendmail daemon, i receive this error:

#/sbin/init.d/sendmail stop
Sendmail pid is 468
Killing sendmail
Please wait .....
Sendmail killed.
#/sbin/init.d/sendmail start
WARNING: local host name () is not qualified; fix $j in config file
/etc/mail/aliases: 8 aliases, longest 25 bytes, 121 bytes total
sendmail
#


Where i must set this parameter?

Thanks!
5 REPLIES 5
Peter Godron
Honored Contributor

Re: Sendmail Problem...

Hi,
from:
http://docs.hp.com/en/B2355-90685/ch04s11.html

Setting Your Domain Name

If sendmail cannot resolve your domain name, you may see the following warning message in your syslog file:


WARNING: local host name name is not qualified; fix $j in config file


To resolve this problem, do one of the following:

In the /etc/mail/sendmail.cf file, uncomment the following line by deleting the pound sign (#) at the beginning of the line:


Dj$w.Foo.COM



Change "Foo.COM" to the name of your domain (for example, "HP.COM").

Modify the /etc/hosts file, making sure that the fully-qualified name of the system is listed first. For example, the entry in the file should be "255.255.255.255 dog.cup.hp.com dog" and not "255.255.255.255 dog dog.cup.hp.com."
Steven E. Protter
Exalted Contributor

Re: Sendmail Problem...

Shalom,

Few ways.

1) Make the host name of your system fully qualified and provide support for it on the public internet if mails need to be received there. To make the hostname fully qualified. change server to server.your.net in /etc/rc.config.d/netconf

2)Set the Dj directive in sendmail.cf and restart sendmail.

3)Ignore the error and provide fdqn support in /etc/hosts and/or your DNS database.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Alpha977
Valued Contributor

Re: Sendmail Problem...

Oh, ok thanks, but the machine is not connected to the domain...

How i can do?
Peter Godron
Honored Contributor

Re: Sendmail Problem...

Hi,
did you other threads solution
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1048355

fix your problem here as well ?
Alpha977
Valued Contributor

Re: Sendmail Problem...

Thanks to all, now all work.

Was a domain problem.

Thanks! :)