From owner-freebsd-questions Wed Sep 29 10:27:29 1999 Delivered-To: freebsd-questions@freebsd.org Received: from rucus.ru.ac.za (rucus.ru.ac.za [146.231.29.2]) by hub.freebsd.org (Postfix) with SMTP id 96B2E158D8 for ; Wed, 29 Sep 1999 10:27:21 -0700 (PDT) (envelope-from bvi@rucus.ru.ac.za) Received: (qmail 57499 invoked by uid 374); 29 Sep 1999 17:29:28 -0000 Date: Wed, 29 Sep 1999 19:29:28 +0200 From: Barry Irwin To: Langa Kentane Cc: FreeBSD Subject: Re: Send mail & DNS problem [newbie] Message-ID: <19990929192928.H23989@rucus.ru.ac.za> References: <05f801bf0985$c0a01440$36a8ef9b@sunnet.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <05f801bf0985$c0a01440$36a8ef9b@sunnet.co.za> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue 1999-09-28 (09:39), Langa Kentane wrote: > Can someone please tell me how to sort this out. > I was trying to test if my mail is working coz I just set up DNS & Bind (the > latest ver). > > This is the response that I get from the mail delivery subsys: > -------- > The original message was received at Fri, 9 May 1997 19:44:05 GMT > from [192.168.1.11] > > ----- The following addresses had permanent fatal errors ----- > > > ----- Transcript of session follows ----- > 554 MX list for sunnet.co.za. points back to ewok.sunnet.co.za > 554 ... Local configuration error Your setup is as follows [bvi@balrog DATA]$ host -l sunnet.co.za No such domain http://co.za/whois.html also reports the domain as nonexistant ( as of 19h21 SAST on 29/9/99 So you will need to set things up something along the lines of: ( this assumes the following) 1) a host called ewok that you wish to handle mail for the domain sunnet.co.za 2) a registered domain :-) 3) Name servers 4) sendmail What you need to do is set up the DNS MX records as follows ( in the sunnet.co.za zonefile) @ IN MX 10 ewok ewok IN A 192.168.1.11 Use a realworld IP if you want the rest of the world to be able to send you mail. other option is to add the line @ IN A 192.168.1.11 ( or whatever ewoks real address is) This will expand to sunnet.co.za having the address 192.168.1.11, however the MX method is preferable. and in addition sendmail.cw to look soomething along the lines of # sendmail.cw - include all aliases for your machine here. # receive mail for local machine ewok.sunnet.co.za # also recieve mail for sunnet.co.za sunnet.co.za Further configuration of sendmail may well be required depending on how you want to handle the mail once it is received. Hope this gets you going. Barry -- -------------------------------------------------------------------------- Barry Irwin IRC: balin@zanet (#linux) bvi@moria.org http://rucus.ru.ac.za/~bvi Whois BI414 - PMPN8EZ - http://moria.org -------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message