Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Dec 1996 08:00:42 -0100
From:      Darius Moos <moos@webmore.com>
To:        Jeffry Komala <jk@tti.net>
Cc:        questions@freebsd.org
Subject:   Re: Help! MX mail error
Message-ID:  <3.0.32.19961221080041.006d036c@cyclone.degnet.baynet.de>

next in thread | raw e-mail | index | archive | help
>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 <lotus@bawel.net>... 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---------     
>            '//||\\`
>              ''``
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.32.19961221080041.006d036c>