Sendmail 8.6.12: using /etc/hosts to send to domainless hosts

Sendmail 8.6.12: using /etc/hosts to send to domainless hosts

Post by Mike Batchel » Sat, 22 Apr 1995 04:00:00



This may be a dumb question, but here goes anyway....

I have a situation where I need to send mail to another net (over an ISDN
link) which is not under my control.  This other network is using the
/etc/hosts file, and is not using DNS or NIS at all.  So they have no
domain of any kind, just hostnames and IP addresses.

The network I am helping with, on which I have installed the latest BIND
and sendmail v8.6.12, is running Solaris 2.4 on the mailhost and the
backup, and the DNS has MX records for all other hosts to these two
systems.  The Sun-supplied sendmail has no problem finding the other net's
domain-less hosts in /etc/hosts, and I do have /etc/nsswitch.conf setup
correctly, and all other applications but sendmail v8 can find those
domainless hosts.  What have I missed?  I didn't compile sendmail v8 with
NIS enabled, since we don't use it.  Do I need to do this, or is there
some other trick I don't know about?

--

"Supporting Windows is like buying a puppy.  The dog only cost $100, but
we spent another $500 cleaning the carpet."
 - Marc Dodge, "Reality Check", _Open Computing_, December 1994

 
 
 

1. sendmail 8.6.12, nsswitch.conf, and /etc/hosts

I've searched the FAQ's that I can find and haven't found a solution to this
problem.  Maybe someone else has already solved it...

1) solaris 2.4 and Sun's C compiler
2) sendmail 8.6.12
3) nsswitch.conf with "hosts: files dns"
4) /etc/hosts with
    "xx.xx.xx.xx lachesis.gsfc.nasa.gov lachesis"
    "xx.xx.xx.xx clotho.gsfc.nasa.gov clotho (not in dns)"

All of Sun's utilities, telnet and rlogin, can find clotho from
lachesis no problem.  But 8.6.12 sendmail fails with "Host unknown
(Name server:  clotho: host not found)".  Any ideas?  Thanks for any help or
information you can provide.

--

NASA/GSFC; Code 520.9 B23 W351     vox: 301.286.1074
Greenbelt, MD 20771                fax: 301.286.1768

2. Milwaukee Firm Seeking AIX/Tech Services consultant

3. Pre-compiled Sendmail 8.6.12 for Linux?

4. Large disk recommendations for 3.2v4.2?

5. Linux 2.0.0 and sendmail 8.6.12/8.7.5...HELP!!!

6. 64 bit Solaris 7 for Intel ?

7. Sendmail 8.6.12 config

8. Reading from remote tty device

9. Problem compiling sendmail (8.6.12) on Solaris 2.4

10. Trouble compiling sendmail 8.6.12 for Solaris 2.4

11. Sendmail 8.6.12,makemap,Solaris 2.3,remaping Names HELP

12. 'unknown user' on numeric usernames (sendmail 8.6.12 and linux 1.3.20)

13. Sendmail 8.6.12 problems