Re: Re: imap_open() on windows extremely slow?

From: Date: Wed, 08 Sep 2004 19:11:12 +0000
Subject: Re: Re: imap_open() on windows extremely slow?
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-196156@lists.php.net to get a copy of this message
Michael Wallner wrote: > Well, so here comes /the oddity/ > > connecting from debian to windows/exchange ~0.5 seconds > connecting from debian to debian/courier ~0.2 (assumed to be somewhere at 0.x seconds) > connecting from windows to debian/courier ~5 seconds > connecting from windows to windows/exchange ~0.5 seconds > > Half a second is what I'd expect and is acceptable, but > 5 seconds seems to be more serious than an oddity... Anytime I see something like this, I suspect that the server (in this case, Courier IMAP) is attempting an ident lookup on the client, or is attempting a reverse DNS lookup. I suspect the latter is more likely. For kicks, try temporarily adding an entry for your windows client to the /etc/hosts file on the Debian/Courier server. If that fixes the problem then I would look for ways to disable reverse DNS lookups in Courier. Just a thought...

« previous php.general (#196156) next »