I don't use sendmail, so I'll pass on that part of your query. But MX
records are a DNS question, not specific to sendmail (or even to SMTP), so
here goes.

1. Technically, every host with an A record should also have an MX record.
The DNS standard is easy on this -- if no MX record is found, it sends the
mail to the A record address. 

2. So, technically, the mail server should have an MX record that points to
itself. But if it doesn't, actual problems are unlikely to arise.

3. As to the other hosts ... technically, they all need MX records. Whether
they also do in practice depends on how the mail goes out and gets
delivered. Suppose you have three hosts, moe, larry, and curly, and

        moe.3stooges.comedy        is the mail server
        larry.3stooges.comedy      is a workstation client
        curly.3stooges.comedy      is also a workstation client

Now, suppose fan1 uses larry and fan2 curly. How does fan1's and fan2's mail
go out? Two (main) possibilities:

        [EMAIL PROTECTED] and [EMAIL PROTECTED] -- in this case, it
will suffice to create a CNAME record that associates the unadoened domain
name 3stooges.com with the A record moe.3stooges.comedy . All incoming mail
will go to moe directly.

        [EMAIL PROTECTED] and [EMAIL PROTECTED] -- here
you need MX records to redirect the mail to moe.3stooges.comedy . The mail
will go to moe, which then needs to know what to do with it.

Setting up either of these approaches to work correctly is a sendmail issue,
but that's something I'll have to leave to a sendmail expert to answer with
any thoroughness. sendmail can handle the first through its address
rewriting rules, but I last did this too many years ago to get the details
right now. 

At 09:40 PM 3/8/00 -0500, Leandro Asnaghi-Nicastro wrote:
...
>The Bat book mentions MX records for a host.  All mail generated 
>on that host, will be sent to the hub (configuration files are neatly 
>explained in the Bat book on how to create a client based 
>Sendmail.cf and how to change Sendmail from daemon to check 
>just the queue every 30 mins).
>
>Now, from what I understand, the Bat book talks about one host.  
>That one host has an MX entry which redirects mail to the mail hub 
>(which is in the process of being configured).  If I have multiple 
>machines, as stated above, and their mail as well goes (will go) to 
>the hub, do I need to set up MX records for each of the machines 
>pointing at the hub?
>
>Does the hub need an MX entry to point at itself?  From what I 
>understand from the Bat book, that's what it seems to imply, but I 
>am not totally sure.
>
>Lastly, Sendmail.  
...

------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
Palo Alto, CA                                    [EMAIL PROTECTED]        
----------------------------------------------------------------


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to