]> Pileus Git - ~andy/fetchmail/commit
Work around systems returning obsolete EAI_NODATA.
authorMatthias Andree <matthias.andree@gmx.de>
Sun, 3 Feb 2013 14:54:58 +0000 (15:54 +0100)
committerMatthias Andree <matthias.andree@gmx.de>
Sun, 3 Feb 2013 14:54:58 +0000 (15:54 +0100)
commitab5425702f3448cd56e1bb0c3a751c6c34c55d5f
treee11f69190c3b9dd27e6e7059ef4fe1faa3a7369a
parent03a31a4771efd7e48256ac0d7d2442f5e6bc381f
Work around systems returning obsolete EAI_NODATA.

Older systems that provide the older RFC-2553 implementation of
getaddrinfo, rather than the current RFC-3493, and systems that do not
provide this getaddrinfo() interface at all and thus use the replacement
functions from libesmtp/getaddrinfo.?, might return EAI_NODATA when a
host is registered in DNS as MX or similar, but without A or AAAA
records.  Handle this situation when checking for multidrop aliases and
treat EAI_NODATA the same as EAI_NONAME, i. e. name cannot be resolved.

The proper fix, however, is to upgrade the operating system.
NEWS
checkalias.c