My theory is, also as Christer mentioned in comment 16, that we try to connect immediately after wake up, but since cached host name has expired we do complete name resolving again. But the system is not up that soon (few milliseconds after the wake up) to return some result. We should then not cache the unknown-host state.
I'm not a linux developer (I don't see this behavior on a Windows machine, but also may be just related to record expiration times) and also I'm not directly a DNS code maintainer (however, I can do the fix my self). Adding Michal, since he may know better what type of error state we get from getaddrinfo w/o a net connection up on a linux system. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to thunderbird in Ubuntu. https://bugs.launchpad.net/bugs/584529 Title: Thunderbird complains there is no connection on resume from suspend, when there is a connection Status in Mozilla Thunderbird Mail and News: Invalid Status in “thunderbird” package in Ubuntu: Triaged Bug description: Binary package hint: thunderbird When I resume from suspend, network manager quickly re-establishes a WiFi internet connection. With an active connection, I try to check my mail with Thunderbird, but it complains that it can't connect to the IMAP server. This seems to happen after longer suspend periods because if I try to replicate the behaviour by quickly suspending and resuming (suspend of a few seconds), I get no warning. ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: thunderbird 3.0.4+nobinonly-0ubuntu4 ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2 Uname: Linux 2.6.32-22-generic x86_64 Architecture: amd64 Date: Sun May 23 12:26:28 2010 InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100412) ProcEnviron: LANG=en_GB.utf8 SHELL=/bin/bash SourcePackage: thunderbird To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/584529/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp