Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uwm.edu!linac!mp.cs.niu.edu!rickert From: rickert@mp.cs.niu.edu (Neil Rickert) Newsgroups: comp.mail.sendmail Subject: Re: need help with MX records Message-ID: <1991Mar20.035906.30388@mp.cs.niu.edu> Date: 20 Mar 91 03:59:06 GMT References: <1991Mar20.002804.2705@borland.com> Organization: Northern Illinois University Lines: 48 In article <1991Mar20.002804.2705@borland.com> sidney@borland.com (Sidney Markowitz) writes: >We're running Sun OS 4.1.1 on a Sun 4 (Sparc), using the domain name >server and sendmail.mx software supplied by Sun. Our site has an IP >address on the Internet. For some reason mail addressed to hosts that >are not on the Internet, but are reached via MX records, bounces with a >an error about the host name not being found. I added the resolver I have used sendmail.mx on a Sparc with no difficulty. But you have to use sendmail.mx. You cannot use sendmail.nomx even if the resolver code is in the shared library. I have seen your problem before. It is usually caused by not understanding what it means to run sendmail.mx I recommend you do the following: cd /usr/lib mv sendmail sendmail.nomx ln sendmail.mx sendmail I don't know why Sun doesn't distribute their systems with both a 'sendmail.mx' and a 'sendmail.nomx', with one of them linked to sendmail. (Please Sun, would you consider doing it this way in future. Maybe even use a symbolic link instead of a hard link. Most sysadmin's are not sendmail guru's and are very hesitant to move files around. Put them in the right place to start, so that it is easy to understand.) It is NOT ENOUGH to start 'sendmail.mx' as the daemon from /etc/rc*. The actual binary /usr/lib/sendmail in use MUST BE sendmail.mx if you want this to work. Most outgoing mail uses /usr/lib/sendmail, while incoming mail uses the daemon. It is for the outgoing mail that you need sendmail.mx >I tried ftp'ing sendmail-5.65b+IDA, and sendmail-5.65 from >uxc.cso.uiuc.edu and building them. They seem to require a newer Bind. >I got that, and was able to build and run named, with no change in >results. But that version's gethostnamadr.c doesn't seem to compile ok >as position-independent code, so I can't put the new resolv lib in the >shareable library, sendmail 5.65 gets errors when I try to build it, >and sendmail 5.65b+IDA builds but doesn't run. You should be able to build sendmail-5.65+IDA using Sun's libresolv.a. -- =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= Neil W. Rickert, Computer Science Northern Illinois Univ. DeKalb, IL 60115 +1-815-753-6940