[clug] DNS + CNAMES + sendmail...

Daniel Pittman daniel at rimspace.net
Wed Aug 5 19:22:48 MDT 2009


Michael James <michael at james.st> writes:
> On 05/08/2009, at 11:13 PM, Andrew Janke wrote:
>
>> bob.blix.com.au is a CNAME pointing to mary.blix.com.au
>> the MX record for bob.blix.com.au is mary.blix.com.au
>
> When I last wrestled with bind CNAMES can't have MX records.

They can't, and recent bind will warn you about it.  The *standard* behaviour
is that the sender will resolve the CNAME and then perform MX resolution, so
the MX record that matters is attached to 'mary.blix.com.au'.

(Also, if you plan to use example domains, 'example.com' is reserved for the
 purpose, since neither bob or mary resolve in the real blix.com.au
 namespace. ;)

[...]

> Why are all MTAs works of the devil?

They most certainly are not.  Running an MTA is not entirely trivial, but the
rules are both reasonably simple and written down.

Now, SPAM, that makes life difficult...

Regards,
        Daniel
-- 
✣ Daniel Pittman            ✉ daniel at rimspace.net            ☎ +61 401 155 707
               ♽ made with 100 percent post-consumer electrons


More information about the linux mailing list