|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Noel Jones (njones
megan.vbhcs.org)
Date: Tue Apr 13 2010 - 10:44:44 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 4/13/2010 2:16 AM, Bob Eastbrook wrote:
> I use wildcard MX records for mail, and a wildcard CNAME for web
> traffic. For example:
>
> *.example.com = MX record for mail.example.com
> *.example.com = CNAME myapp.appspot.com
MX records must not point to a CNAME.
>
> Email to bob
foo.example.com gets delivered to mail.example.com, and
> web traffic to http://foo.example.com goes to myapp.appspot.com. I
> use instructions from Wietse from a post I made on Dec 31, 2009:
> http://www.pubbs.net/200912/postfix/75444-virtual-domains-for-wildcard-mx-records.html.
>
> This works for all mailers I've found except for Yahoo Mail. Mail
> sent from Yahoo is rejected with:
>
> <bob
foo.example.com>:
> [ip.number.of.mailserver] does not like recipient.
> Remote host said: 554 5.7.1<bob
myapp.appspot.com>: Relay access denied
> Giving up on [ip.number.of.mailserver].
Original RFC822 said that mail to a CNAME should be rewritten
to the canonical name. Later RFC's relaxed that, but some
mailers still behave that way.
Don't use a CNAME for email. That will fix the problem.
-- Noel Jones
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]