Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!ucsd!ames!dftsrv!jagmac2.gsfc.nasa.gov!jim From: jim@jagmac2.gsfc.nasa.gov (Jim Jagielski) Newsgroups: comp.mail.sendmail Subject: MX records, NAMED_BIND, and aliases in /etc/hosts Message-ID: <2850@dftsrv.gsfc.nasa.gov> Date: 20 Jul 90 10:00:42 GMT Sender: news@dftsrv.gsfc.nasa.gov Reply-To: jim@jagmac2.gsfc.nasa.gov (Jim Jagielski) Distribution: na Organization: NASA Goddard Space Flight Center Lines: 35 I've been working on a port of 5.64 to A/UX... the port is pretty straight- forward, but there is one area where I'm stuck. Any help would be great. It seems when sendmail is compiled with NAMED_BIND defined, then nameserver support is incorporated. This is fine. However, sendmail will then refuse to use or recognize any and all aliases in /etc/hosts. For example, if a line in /etc/host is: 128.183.44.2 unixbox.gsfc.nasa.gov tryme and one tries to mail to foo@tryme, then the mail gets bounced back with the "host unknown" error. This is done whether the RES_* options are in the source or commented out, so I don't think it's resolver, but I may be wrong. However, when sendmail is compiled without NAMED_BIND defined, then the aliases are recognized and used. It still lets me mail stuff to hosts NOT specified in /etc/hosts, so some nameserver functionality is maintained. The upshot is, I need to be able to use/query MX records (and therefore NAMED_BIND must be defined) but I also would like to be able to use aliases in /etc/hosts (after all, they are recognized in telnet, ftp, etc...). Please e-mail me ANY and ALL comments and suggestions... and thanks in advance! -- ======================================================================= #include =:^) Jim Jagielski NASA/GSFC, Code 711.1 jim@jagmac2.gsfc.nasa.gov Greenbelt, MD 20771 "Kilimanjaro is a pretty tricky climb. Most of it's up, until you reach the very, very top, and then it tends to slope away rather sharply."