1748246 Members
3446 Online
108760 Solutions
New Discussion юеВ

sendmail startup

 
Joe Profaizer
Super Advisor

sendmail startup

Receiving following error but don't know how to fix it. Please consult.


Starting mail daemon
Output from "/sbin/rc2.d/S540sendmail start":
----------------------------
WARNING: local host name (rga8) is not qualified; fix $j in config file
/etc/mail/aliases: 12 aliases, longest 41 bytes, 350 bytes total
sendmail


Thanks,

...Joe
2 REPLIES 2
James R. Ferguson
Acclaimed Contributor

Re: sendmail startup

Hi Joe:

In /etc/mail/sendmail.cf do the following:

Uncomment the Dj macro and add your domain. That is, change the line reading:

#Dj$w.Foo.COM

to:
Dj$w.hp.com

where "hp.com" is the name of your domain.

Now stop and (re)start sendmail:

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

...JRF...
Bill McNAMARA_1
Honored Contributor

Re: sendmail startup

The above response does fix it...
but I found a workaround before I worked out the real pb.. add an alias in you /etc/hosts to say --------------------- v
192.168.1.20 myserver myserver.

The dot for some reason allows the domain qualification and sendmail doesn't complain..
of course if you really want to use your mail you'll have to do the above, but in my case this was for a training lab and EMS messages tended to get send to the president!

Later,
Bill
It works for me (tm)