[imp] Error connecting to IMAP server. 13: Permission denied - SOLVED
Troy Dixler
troy at twisted.net
Tue Mar 28 04:59:52 PST 2006
I finally solved it. This entire problem related back to not having
statically compiled SSL into PHP4.
-Troy
Quoting Troy <troy at twisted.net>:
> Jan,
>
> I turned on logging within my php.ini file and think I'm getting to the
> root of the problem. It's stating no SSL support in this build yet when it
> was being installed you can see the openssl.so dependency. I went back and
> recompiled trying to fix it but it still seems to be the problem.
>
>
> [Tue Mar 28 05:11:18 2006] [error] PHP Warning: fsockopen(): no SSL
> support in this build in /usr/local/www/horde/imp/lib/IMAP/Client.php on
> line 449
> [Tue Mar 28 05:11:18 2006] [error] PHP Warning: fsockopen(): unable to
> connect to localhost:993 in /usr/local/www/horde/imp/lib/IMAP/Client.php
> on line 449
>
>
> ===> Installing for imp-4.1
> ===> imp-4.1 depends on file: /usr/local/share/pear/Auth/SASL.php -
> found
> ===> imp-4.1 depends on file: /usr/local/www/horde/turba/minisearch.php
> - found
> ===> imp-4.1 depends on file: /usr/local/www/horde/ingo/filters.php -
> found
> ===> imp-4.1 depends on file: /usr/local/www/horde/nag/data.php - found
> ===> imp-4.1 depends on file: /usr/local/bin/gpg - found
> ===> imp-4.1 depends on file: /usr/local/bin/aspell - found
> ===> imp-4.1 depends on file: /usr/local/include/php/main/php.h - found
> ===> imp-4.1 depends on file: /usr/local/lib/php/20020429/imap.so -
> found
> ===> imp-4.1 depends on file: /usr/local/lib/php/20020429/openssl.so -
> found
> ===> imp-4.1 depends on file: /usr/local/sbin/apxs - found
> ===> imp-4.1 depends on file: /usr/local/libexec/imapd - found
> ===> imp-4.1 depends on file: /usr/local/sbin/apxs - found
> ===> imp-4.1 depends on shared library: intl - found
>
>
>
>
> In the mail options I'm still seeing:
>
> Notice: Undefined index: imp in /usr/local/www/horde/imp/lib/IMP.php on
> line 1234
>
> Warning: Invalid argument supplied for foreach() in
> /usr/local/www/horde/imp/lib/IMP.php on line 1239
>
> Notice: Undefined index: base_protocol in
> /usr/local/www/horde/imp/lib/IMP.php on line 1198
>
> Warning: Invalid argument supplied for foreach() in
> /usr/local/www/horde/imp/lib/IMP.php on line 1207
>
> Notice: Undefined index: base_protocol in
> /usr/local/www/horde/imp/lib/IMP.php on line 1198
>
> Warning: Invalid argument supplied for foreach() in
> /usr/local/www/horde/imp/lib/IMP.php on line 1207
>
> Notice: Undefined index: base_protocol in
> /usr/local/www/horde/imp/lib/IMP.php on line 927
>
> Notice: Undefined index: base_protocol in
> /usr/local/www/horde/imp/lib/IMP.php on line 948
>
>
> On Mon, Mar 27, 2006 at 08:16:37PM -0600, Troy wrote:
>> On Mon, Mar 27, 2006 at 08:10:01PM -0600, Troy wrote:
>> > On Mon, Mar 27, 2006 at 09:38:52AM +0200, Jan Schneider wrote:
>> > > Zitat von Troy <troy at twisted.net>:
>> > >
>> > > > string(24) "imap/ssl/novalidate-cert" array(3) { [0]=>
>> string(4) "imap"
>> > > > [1]=> string(3) "ssl" [2]=> string(15) "novalidate-cert" }
>> > >
>> > > That still doesn't explain why you get into the usetls case, because
>> > > it obviously isn't set to true in the constructor. Any chance you are
>> > > using a bytecode cache/accelerator that might have some broken content?
>> >
>> > I'm not using any type of cache/accelerator. It's strange because I've
>> > been using IMP for years and never had this problem. All my other horde
>> > module configurations are working perfectly.
>> >
>> > It seems like this is a bug of sorts - is there any other troubleshooting
>> > I can do to verify this?
>>
>> Also worth mentioning that when i go to the options page for mail I see
>> the following errors at the top:
>>
>> Notice: Undefined index: base_protocol in
>> /usr/local/www/horde/imp/lib/IMP.php on line 1234
>>
>> Warning: Invalid argument supplied for foreach() in
>> /usr/local/www/horde/imp/lib/IMP.php on line 1239
>>
>> Notice: Undefined index: base_protocol in
>> /usr/local/www/horde/imp/lib/IMP.php on line 1198
>>
>> Warning: Invalid argument supplied for foreach() in
>> /usr/local/www/horde/imp/lib/IMP.php on line 1207
>>
>> Notice: Undefined index: base_protocol in
>> /usr/local/www/horde/imp/lib/IMP.php on line 1198
>>
>> Warning: Invalid argument supplied for foreach() in
>> /usr/local/www/horde/imp/lib/IMP.php on line 1207
>>
>> Notice: Undefined index: base_protocol in
>> /usr/local/www/horde/imp/lib/IMP.php on line 927
>>
>> Notice: Undefined index: base_protocol in
>> /usr/local/www/horde/imp/lib/IMP.php on line 948
>> --
>> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
> --
> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>
--
Troy
More information about the imp
mailing list