PDA

View Full Version : IMAP-SSL Issues


squeezer
06-10-2008, 11:34 PM
Hello everyone:

I have a Windows 2008 x86-64 server running IIS 7 that I'm configuring with a fresh install of Cerberus. ( Version 4.0 RC1 (Build 605) )

I am attempting to set up a few email accounts using IMAP-SSL, connecting to our organization's 2003 Exchange server, but I am receiving the following message:

Account being parsed is BAFSystems
Time Limit: unlimited secs
Memory Limit: 64M
Failed with error: [CLOSED] IMAP connection broken (server response)
Account being parsed is HRS People Admin Development
Time Limit: unlimited secs
Memory Limit: 64M
Failed with error: [CLOSED] IMAP connection broken (server response)
.... and this continues for the remaining accounts.
From the helpdesk server, I have successfully connected to the Exchange server via telnet/port 993, and ping is working too. Incidentally, I can also connect to the server's web interface.

On the forums, a few people have mentioned that one way around a similar issue is to recompile the PHP_IMAP DLL, but they have only said this in context of the Kerberos issues in Exchange 2007.

Please help!

Thanks,

-mike

Hildy
06-11-2008, 12:21 AM
There's a report of broken ssl in php_imap here: http://bugs.php.net/bug.php?id=36496&edit=1 What version of PHP are you on?

There's comments on server-side timeouts here: https://support.mayfirst.org/ticket/505

http://www.sugarcrm.com/forums/archive/index.php/t-28151.html reports that "PHP < 5.2.2. + imap + ssl + windows is a bad combination."

squeezer
06-11-2008, 05:58 PM
There's a report of broken ssl in php_imap here: http://bugs.php.net/bug.php?id=36496&edit=1 What version of PHP are you on?

There's comments on server-side timeouts here: https://support.mayfirst.org/ticket/505

http://www.sugarcrm.com/forums/archive/index.php/t-28151.html reports that "PHP < 5.2.2. + imap + ssl + windows is a bad combination."

I am on PHP 5.2.6, using the standard binaries from php.net. I noticed that in my phpinfo.php file, that under the IMAP section, the Kerberos line is missing.
imap
IMAP c-Client Version 2004
SSL Support enabled
so this seems like a good place to start.

My dev box runs Fedora Core and I had no problems connecting to the same server via IMAP-SSL, but it DID have Kerberos enabled. This makes me think there is a problem with my PHP distribution.

Do you have a kerberos-enabled php_imap DLL (or else an entire for-windows compiled version of PHP) I could try swapping in? Or could you help me enable kerberos in PHP?

Thanks,

-mike

squeezer
06-11-2008, 11:18 PM
There's a report of broken ssl in php_imap here: http://bugs.php.net/bug.php?id=36496&edit=1 What version of PHP are you on?

There's comments on server-side timeouts here: https://support.mayfirst.org/ticket/505

http://www.sugarcrm.com/forums/archive/index.php/t-28151.html reports that "PHP < 5.2.2. + imap + ssl + windows is a bad combination."

I just wanted to double check there wasn't any additional information needed on this topic.. just let me know. Thanks,

-mike

Hildy
06-11-2008, 11:28 PM
Sorry, Mike, didn't see your response earlier in the day. Not having Kerberos in the php_imap could certainly be a problem... What so the two imap sections look like from your phpinfo pages? Mine (on a windows dev box, XAMPP install of PHP) looks like:
IMAP c-Client Version 2004
SSL Support enabled
although I don't specifically recall ever connecting to an Exchange server from this machine.

squeezer
06-11-2008, 11:35 PM
Sorry, Mike, didn't see your response earlier in the day. Not having Kerberos in the php_imap could certainly be a problem... What so the two imap sections look like from your phpinfo pages? Mine (on a windows dev box, XAMPP install of PHP) looks like:
IMAP c-Client Version 2004
SSL Support enabled
although I don't specifically recall ever connecting to an Exchange server from this machine.

On the LAMP machine, running PHP 5.2.3, the IMAP section looks like this
imap
IMAP c-Client Version 2004
SSL Support enabled
Kerberos Support enabled

On the Windows machine (WIMP? :) ), running 5.2.6, the IMAP section looks like this
imap
IMAP c-Client Version 2004
SSL Support enabled

I tested connecting to a GMail account via IMAP-SSL and had no problems. When I tried connecting to our exchange servers, however, the same issues resurfaced.

squeezer
06-12-2008, 05:45 PM
Sorry, Mike, didn't see your response earlier in the day. Not having Kerberos in the php_imap could certainly be a problem... What so the two imap sections look like from your phpinfo pages? Mine (on a windows dev box, XAMPP install of PHP) looks like:
IMAP c-Client Version 2004
SSL Support enabled
although I don't specifically recall ever connecting to an Exchange server from this machine.

Whoops! That was a typo, the Linux machine is running PHP 5.2.4. Not that it probably matters too much.

Thanks.