1835243 Members
2329 Online
110078 Solutions
New Discussion

sendmail annoyance

 
Brooks Sizemore
Occasional Contributor

sendmail annoyance

Not a serious problem, but every once in a while, I get this message on the console:

sendmail: local host name (hostname) is not qualified

Guessing that this might have something to do with sendmail configuration, I checked to make sure my local host name was located in /etc/mail/sendmail.cw, /etc/hosts contained my hostname, and /etc/nsswitch.conf was looking in files for server names/aliases.

Any idea what I'm not doing to get this warning message to go away?

Thanks!
2 REPLIES 2
James R. Ferguson
Acclaimed Contributor

Re: sendmail annoyance

Hi Brooks:

Edit /etc/mail/sendmail.cf

Uncomment the line that reads:

#Dj$w.Foo.COM

...and change it to:

Dj$w.

...note the trailing period character!

Now, stop and restart sendmail:

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

...JRF...
MANOJ SRIVASTAVA
Honored Contributor

Re: sendmail annoyance

Also you can change it to
Dj$w.abc.com
and define the
DS exch server

and you are on with sending mails to your exchange server tooo.

Manoj Srivastava