From owner-freebsd-questions Fri Dec 20 21:36:38 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id VAA26457 for questions-outgoing; Fri, 20 Dec 1996 21:36:38 -0800 (PST) Received: from okeefe.bestweb.net (okeefe.bestweb.net [208.197.0.5]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id VAA26452 for ; Fri, 20 Dec 1996 21:36:36 -0800 (PST) Received: from localhost (jordyn@localhost) by okeefe.bestweb.net (8.8.4/8.7.3) with SMTP id AAA01253; Sat, 21 Dec 1996 00:38:56 -0500 (EST) Date: Sat, 21 Dec 1996 00:38:56 -0500 (EST) From: "Jordyn A. Buchanan" To: Jeffry Komala cc: questions@freebsd.org Subject: Re: Help! MX mail error In-Reply-To: <1.5.4.32.19961221045354.0068fb90@darwin.tti.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Fri, 20 Dec 1996, Jeffry Komala wrote: > I am trying to have inbound emails without specific hostname, delivered to > my freeBSD 2.1.5 box which runs primary DNS. > I have the following lines in my forward DNS file: > > $ORIGIN bawel.net. > <-----SOA record deleted for brevity-------> > MX 0 pioneer.bawel.net. > IN NS pioneer.bawel.net. > > However, after I added the MX line as suggested by "DNS and BIND" book, > I've got the following error message when sending an email with just the > domain name: > > ----- Transcript of session follows ----- > 554 MX list for bawel.net. points back to pioneer.bawel.net > 554 ... Local configuration error > > I spent hours already reading help files and hacking around DNS files and > sendmail.cf, but I got nowhere. > Please help! Sendmail doesn't think that it is supposed to be accepting mail for bawel.net, but when it tries to send it to the "right" place, it discovers that the only logical place to send the mail is back to the computer that is already handling the mail (in other words, sendmail looks up the MX records for the domain and discovers it is about to pass the message on to itself!). This confuses sendmail. Let sendmail know that it is supposed to be accepting mail for bawel.net. Add a line with "bawel.net" to /etc/sendmail.cw. |---------------------------------------------------------------| |Jordyn A. Buchanan jordyn@bestweb.net| |Bestweb Corporation http://www.bestweb.net| |Senior System Administrator +1.914.271.4500| |---------------------------------------------------------------|