From owner-freebsd-questions Fri Dec 20 23:07:38 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id XAA29602 for questions-outgoing; Fri, 20 Dec 1996 23:07:38 -0800 (PST) Received: from cyclone.degnet.baynet.de (root@cyclone.degnet.baynet.de [194.95.214.129]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id XAA29595 for ; Fri, 20 Dec 1996 23:07:33 -0800 (PST) Received: from nada (ppp3 [194.95.214.133]) by cyclone.degnet.baynet.de (8.6.12/8.6.9) with SMTP id JAA14136; Sat, 21 Dec 1996 09:11:19 +0100 Message-Id: <3.0.32.19961221080041.006d036c@cyclone.degnet.baynet.de> X-Sender: moos@cyclone.degnet.baynet.de X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Sat, 21 Dec 1996 08:00:42 -0100 To: Jeffry Komala From: Darius Moos Subject: Re: Help! MX mail error Cc: questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >I don't know what the use for the additional A record other than it lets me >telnet to my freeBSD box without specifying the hostname. It is for mailexchangers that ignore MX-records or do not handle them correctly. (stated in "DNS and BIND") So this mailexchangers will find my.domain in any case and deliver it to your mailexchanger. Darius Moos At 22:33 20.12.96 -0800, you wrote: >At 12:38 AM 12/21/96 -0500, you wrote: >>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 >>> >> >>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. >> > >Thanks for the help. >Ironically, I have done something similar under /etc/sendmail.cf. >I added: >Cwbawel.net >Cwpioneer.bawel.net >(I am not sure which one is important, so I did both). > >Yet, after I added the two lines or the /etc/sendmail.cw, nothing changed! >I thought I did restart sendmail daemon by using kill -HUP. >Apparently kill -HUP didn't force sendmail daemon to re-read sendmail.cf. >So, I had to kill -9 and restarted sendmail with /usr/sbin/sendmail -bd . >Now, emails to user@mydomain works! > >Just a little note. Beside adding the MX record: >my.domain IN MX 0 hostname.my.domain >"DNS and BIND" also suggests to add: >my.domain IN A xx.xx.xx.xx (where xx=IP address of the host) > >I don't know what the use for the additional A record other than it lets me >telnet to my freeBSD box without specifying the hostname. > >Jeffry > > .---. .----------- Fortune cookie sez' > / \ __ / ------ "Pray for what you want..... > / / \(oo)/ ----- but work for the things you need." > ////// ' \/ ` --- > //// / // : : --- my email addresses: (_\_|___|_/_) > // / / /` '-- jsk@tti.net (o o) > // //..\\ jeffry@tti.net \ / >/-----------UU----UU-------------------------------m---O---m--------- > '//||\\` > ''`` > > >