# ext/imap oddity on Win32

- Thread: https://externals.io/message/12666
- Original archive: https://news-web.php.net/php.internals/12666
- Started by Michael Wallner on 2004-09-09T11:40:32+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #12666 — Michael Wallner — 2004-09-09T11:40:32+00:00

URL: https://externals.io/message/12666#12666

Hi,

may I kindly ask for some advice to an odd behaviour
of ext/imap on Win32?  I'm experiencing a connection
delay of about 5 seconds when I try to establish an
IMAP connection from windows to an IMAP server running
on linux.

You can find some traces here:
	http://s1-iw.iworks.at/ext.imap.txt

I really don't have the knowledge to examine these logs
correctly, but it seems that ext/imap waits 4-5 seconds
until it comes back...

The odd thing is, that connecting to an exchange server
takes as short as connecting from linux to the linux
IMAP server (it makes no difference if I connect to
the IMAP server directly or through imapproxy).

It's PHP 4.3.8 on Windows 2000 (no matter if run as CLI
or Apache module) and Courier-IMAP on debian/testing.

If you have any questions, *please* ask.

Many thanks in advance,
-- 
Michael - < mike(@)php.net
