Index: [Article Count Order] [Thread]

Date:  Tue, 12 Sep 2006 12:40:21 -0700 (PDT)
From:  Herb Rubin <herbr (at mark) pfinders.com>
Subject:  [coba-e:06865] Re: Squirrelmail issue: Error connecting to IMAP server: localhost
To:  coba-e (at mark) bluequartz.org
Message-Id:  <12365470.13311158090021510.JavaMail.root (at mark) z01.pfinders.com>
In-Reply-To:  <19431718.13101158025574459.JavaMail.root (at mark) z01.pfinders.com>
X-Mail-Count: 06865

Michael,

I got it working. Strange but, I changed the Squirrelmail config file to point to the base IP address instead of "localhost" and now IMAP works. 

PHP's fsockopen was failing to create the handle with "localhost". It returned the error string "success". Oh, well. It works now.

For those that run into this:

vi /usr/share/squirrelmail/config/config.php

change
$imapServerAddress      = 'localhost';

to
$imapServerAddress      = '192.168.1.203';

Herb


----- Original Message -----
From: Herb Rubin <herbr (at mark) pfinders.com>
To: coba-e (at mark) bluequartz.org
Sent: Monday, September 11, 2006 6:46:14 PM GMT-0800
Subject: Re: [coba-e:06843] Re: Squirrelmail issue: Error connecting to IMAP server: localhost

Michael,

rpm -qa | grep php 

shows IMAP is already there.

php-imap-4.3.9-3.15

phpinfo.php shows a section for IMAP also:

IMAP c-Client Version  2001
SSL Support            enabled
Kerberos Support       enabled

So, I assume basic php support for IMAP is fine. I just installed this server this weekend.
What else could be causing squirrelmail to fail to connect?

Herb

----- Original Message -----
From: Michael Stauber <bq (at mark) solarspeed.net>
To: coba-e (at mark) bluequartz.org
Sent: Monday, September 11, 2006 5:02:34 PM GMT-0800
Subject: [coba-e:06843] Re: Squirrelmail issue: Error connecting to IMAP server: localhost

Hi Herb,

> Any ideas what it could be? Why squirrelmail can't get in?

You may have a PHP without IMAP support. Create a phpinfo() page and call it 
in your browser. On top of that output and in the table "Configure Command" 
it *may* say '--with-imap' or '--with-imap=shared', but if there isn't a 
separate table labled "imap" somewhere further down your IMAP support may not 
be working.

If you are using the stock PHP that came with BlueQuartz (PHP-4.3.9), then you 
may need to install "php-imap.i386" through YUM to get it working:

	yum install php-imap

-- 

With best regards,

Michael Stauber



-- 
Herb Rubin
Pathfinders Software
http://www.pfinders.com


-- 
Herb Rubin
Pathfinders Software
http://www.pfinders.com