TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [TCLUG:1069] sendmail configuration ?



I just found out that we are not using the DNS. Instead, we are using the yp
NIS stuff. So, I'm not sure what goes in place of DNS. I've tried using its
ip addresses also (in place of polaris), but still get the same errors.

Nishi

> -----Original Message-----
> From:	Eric Hillman [SMTP:ehillman@cccu.com]
> Sent:	Friday, September 04, 1998 12:41 PM
> To:	tclug-list@listserv.real-time.com
> Subject:	RE: [TCLUG:1069] sendmail configuration ?
> 
> > -----Original Message-----
> > From: Kapoor, Nishikant X [mailto:Nishikant.X.Kapoor@nspco.com]
> 
> > I tried this solution but still running into this problem.
> >
> > genx:/home/nkapoor::nkapoor> telnet polaris 25
> > Trying 151.215.163.13...
> > Connected to polaris.
> > Escape character is '^]'.
> > 220 Phoenix. Generic SMTP handler
> > quit
> > 221 Phoenix. closing connection
> > Connection closed by foreign host.
> 
> 	OK.  If I'm reading this right, then you do in fact have access to
> polaris
> on port 25, and you can in fact access it by name.  This is a good start.
> 
> 
> > genx:/home/nkapoor::nkapoor>
> > genx:/home/nkapoor::nkapoor> nslookup
> > Default Server:  genx
> > Address:  0.0.0.0
> 
> 	This right here is where your problem lies.  Name resolution isn't
> working
> properly -- as you can see, nslookup is using your local machine as the
> nameserver, and is unable to determine its own address!
> 	Try doing a 'hostname' and see what happens.  You *should* get the
> response
> "genx.nspco.com".  Any other response means that your system is missing
> information about its identity.
> 
> 	The file you need to edit to get name resolution working is
> "/etc/resolv.conf".  You should have lines in it that look like this:
> 
> 	domain nspco.com
> 	search nspco.com
> 	nameserver 192.168.100.100 (that is, the numeric address of a DNS
> server)
> 
>    Fixing that should get mail working -- If you have a valid DNS server
> you
> can use.
> 
>    By the way, I noticed Carl Patten described an alternate, but effective
> way of configuring sendmail -- he uses the "DS" or smart relay host entry
> in
> sendmail.cf, and a hosts file instead of a DNS -- this may be a better
> solution for you.  Either approach should get you up & running, though.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@listserv.real-time.com
> For additional commands, e-mail: tclug-list-help@listserv.real-time.com
> Try our website: http://tclug.real-time.com