From owner-freebsd-questions Mon Jun 2 17:46:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA23710 for questions-outgoing; Mon, 2 Jun 1997 17:46:26 -0700 (PDT) Received: from TRUTH.WOFFORD.EDU (truth.wofford.edu [199.190.174.30]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id RAA23695 for ; Mon, 2 Jun 1997 17:46:16 -0700 (PDT) Date: Mon, 2 Jun 1997 20:45:24 -0400 From: Dan Welch To: Malvin.Chang@auth2.webquest.com CC: QUESTIONS@FREEBSD.ORG, WELCHDW@wofford.edu Message-Id: <970602204524.22a2d6f2@wofford.edu> Subject: RE: mail coming in, not going out Sender: owner-questions@FREEBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Date: Sun, 1 Jun 1997 13:53:31 GMT+8 From: "Malvin Chang" To: WELCHDW@wofford.edu Subject: mail coming in, not going out >Hi Dan, sorry for butting in like this. I've been searching the >FreeBSD list and found that you have a problem which is similar to >what I'm experiencing right now. I would like to ask if you can help >me out assuming that you have already solve your problem. > >Thanks I found the solution in the 2nd edition of the Sendmail book: create the file /etc/service.switch and place in it the single line hosts /etc/hosts The book gives details. Good luck. For those who forgot what the problem was, here's the original: >Hi Dan, sorry for butting in like this. I've been searching the >FreeBSD list and found that you have a problem which is similar to >what I'm experiencing right now. I would like to ask if you can help >me out assuming that you have already solve your problem. > >Thanks I found the solution in the new edition of the Sendmail book: create the file /etc/service.switch and place in it the single line hosts /etc/hosts This solved my sendmail problem with both 2.1.5 and 2.1.6 neatly. The book explains why this works. Good Luck. ...DanW -------------------- For those who wonder what the problem was, here's the original. (It's a non-issue for people running DNS, I think.) >>Machines on which I install FBSD 2.1.5 and 2.1.6 from the >>distribution cdrom's are unable to send mail to other machines on >>the local network. > >>The failure mode is that the outgoing messages are queued with this >>error message in them: > >>MDeferred: Name server: gp.dept.net.: host name lookup failure > >>The network is isolated, contains FreeBSD machines only, does not >>run DNS, and has all addresses in /etc/hosts on every machine. >>Incoming mail works fine, as do rlogin, telnet, and ftp. My sendmail >>m4 configuration file specifies FEATURE(nodns) and the order in >>/etc/host.conf is hosts then bind. > >>I use versions of FreeBSD earlier than 2.1.5 (each using its >>accompanying sendmail version) without difficulty; mail works well >>in both directions. > >>Help? I don't understand this new problem at all.