On Mar 19, 2010, at 10:32 AM, Wietse Venema wrote:

> Yahoo runs a modified qmail, and indeed:
> 
> int dns_cname(sa)
> stralloc *sa;
> {
> int r;
> int loop;
> for (loop = 0;loop < 10;++loop)
>  {
>   if (!sa->len) return loop;
>   if (sa->s[sa->len - 1] == ']') return loop;
>   if (sa->s[sa->len - 1] == '.') { --sa->len; continue; }
>   switch(resolve(sa,T_ANY))
>    {
>     case DNS_MEM: return DNS_MEM;
>     case DNS_SOFT: return DNS_SOFT;
>     case DNS_HARD: return loop;
>     default:
>       ...
>    }
>  }
> return DNS_HARD; /* alias loop */
> }

But my understanding of the RFC says the MTA has to be an A. Why would they be 
looking for anything else?

And does this code imply that the g...@[<IP>] address would skip the T_ANY 
lookup, and would work? (I know it's supposed to work, but this is Yahoo 
modified qmail, not postfix :-)

-- 
Glenn English
g...@slsware.com



Reply via email to