On Fri, January 26, 2007 1:13 pm, Brett Parker wrote:
On Fri, Jan 26, 2007 at 12:37:03PM +0000, cl@isbd.net wrote:
On Fri, Jan 26, 2007 at 09:57:44AM +0000, Brett Parker wrote:
On Fri, Jan 26, 2007 at 09:22:40AM +0000, MJ Ray wrote:
cl@isbd.net wrote: [...]
I have Postfix on my home system (for sending mail). If I want it
to
receive mail as well what do I need to do to the zone file[s]?
Short answer: it depends how your zone and Postfix are configured.
At BSNet (where isbd.net has its zone file) will the CNAME entry I already have mean that mail for xxx@home.isbd.net will get sent on
or
do the MX records for isbd.net catch home.isbd.net mail as well?
More likely the first than the second, but I seem to recall that
some
buggy mailservers handled CNAME badly.
Actually not buggy behaviour - an MX should always point to an A
record
(part of the spec, IIRC), and hysterically, an A record was checked
for,
now the order is MX -> A -> undefined evilness!
... but that really doesn't answer my question. If there's an MX record (or MX records actually) for isbd.net does that have any relevance to mail for home.isbd.net? If it *doesn't* have any effect then what happens to mail for home.isbd.net - will the CNAME entry have any effect or will the mail just get rejected as having a non-existent destination?
It *should* be rejected.
Since no MX record exists (unless you have wildcarded *.isbd.net) for home.isbd.net then mail will be routed to the A record for that host. You should not use CNAMEs with anything mail like.
From the sendmail docs:
"If no MX records are available for a given host, sendmail will try to send to that host directly. Once sendmail determines which host to attempt to send the message to: an intermediate host as indicated by an MX record, or a direct connection to the target host, it uses gethostbyname() to determine the IP-address of the target machine in order to make a connection."
-Mark
----------------------------------------------------------- This message may contain confidential and/or privileged information. This information is intended to be read only by the individual or entity to whom it is addressed. If you are not the intended recipient, you are on notice that any review, disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete or destroy any copy of this message.