Prev: log analyzing: is target host attempting to verify sender
Next: Mail to wildcard MX records doesn't work from Yahoo Mail, butfine from other addresses
From: Noel Jones on 13 Apr 2010 11:44 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(a)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(a)foo.example.com>: > [ip.number.of.mailserver] does not like recipient. > Remote host said: 554 5.7.1<bob(a)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
From: mouss on 13 Apr 2010 18:39
Bob Eastbrook a �crit : > 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 > so you say that *.example.com is an alias (CNAME record), yet you want to give it attributes (MX record)? or more precisely, you say that *.example.com _IS_ myapp.appspot.com _BUT_ at the same time, it is not because it has a different MX... anyway, don't use CNAME for any domain that receives email. > [snip] |