aboutsummaryrefslogtreecommitdiffstats
path: root/env.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2013-02-03 15:54:58 +0100
committerMatthias Andree <matthias.andree@gmx.de>2013-02-03 15:54:58 +0100
commitab5425702f3448cd56e1bb0c3a751c6c34c55d5f (patch)
treee11f69190c3b9dd27e6e7059ef4fe1faa3a7369a /env.c
parent03a31a4771efd7e48256ac0d7d2442f5e6bc381f (diff)
downloadfetchmail-ab5425702f3448cd56e1bb0c3a751c6c34c55d5f.tar.gz
fetchmail-ab5425702f3448cd56e1bb0c3a751c6c34c55d5f.tar.bz2
fetchmail-ab5425702f3448cd56e1bb0c3a751c6c34c55d5f.zip
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.
Diffstat (limited to 'env.c')
0 files changed, 0 insertions, 0 deletions