Sendmail and DNS?

From: Anthony Firmin (anthony@fccl.co.uk)
Date: Mon Nov 10 2003 - 11:46:26 EST


I am trying to get sendmail configured so we can send mail out from all
our Solaris servers to various administrators and DBAs.

The only change I have made to the sendmail.cf file is the DS field...

DSserver001

This is the mail server and 'nslookup server001' produces the correct
output.

The hosts file looks like this...

127.0.0.1 localhost
143.235.34.110 server208 server208. loghost

I then tried to send an email and it got bounced.

So, did a "telnet server001 25" and went through the sending of the
email manually and it worked!!!

Looking more closely at the header information in the bounced mail
showed that it didn't like server208. in the hosts file...

        ----- Transcript of session follows -----
... while talking to server001.fccl.co.uk
>>> HELO server208.
<<< 501 5.5.4 Invalid Address
554 5.0.0 Service unavailable

Researching this I now understand that the HELO string identifies the
calling system - fine by me.

So, I then removed the server208. entry from /etc/hosts so the line
then looked like...

143.235.34.110 server208 loghost

I then sent the email again and it worked. Success.

Further research shows that my problem is that the server name in the
.hosts file does not conform to canonical name rules. Okay, i
understand that.

So, why does it pick up the server208. entry from the hosts file when
there is an entry without the dot?
Do I need to have the server208. entry in the hosts file? I believe
this is part of the DNS setup, is it going to cause problems if I
remove it?

Your help is appreciated.

Anthony
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:26 EDT