[imp] c-client issues/questions

Henry Blackman h.blackman@chester.ac.uk
Fri, 8 Mar 2002 14:46:12 -0000


Which version of PHP are you using?  There is a known problem with 4.1.2
that it will always try to use SSL even if this doesn't work, if you check
the archives of the list you'll find the solution; from memory it means you
have to change the type of IMAP connection to 143/notls in your servers.php
file.

Henry

----- Original Message -----
From: "Kevin M. Myer" <kevin_myer@iu13.org>
To: <imp@lists.horde.org>
Sent: Friday, March 08, 2002 2:11 PM
Subject: [imp] c-client issues/questions


> Hi,
>
> I upgraded our PHP install yesterday and also upgraded our c-client
library to
> 2001a.  I was hoping to fix the problem with CRAM-MD5 authentication, for
which
> the suggested fix ranges from "downgrade to 2000c" to "it works fine for
me
> under 2001a".  Unfortunately, with 2000c, I believe I had the problem and
after
> upgrading to 2001a yesterday and recompiling PHP, I'm still seeing:
>
> PHP Warning:  Retrying CRAM-MD5 authentication after authentication
failure
> (errflg=1) in Unknown on line 0
>
> (Incidentally, where is "Unknown on line 0" referring to?  An internal PHP
> function?  Some IMP code?)
>
> I'm also seeing warnings like so:
>
> PHP Warning:  Quota root does not exist (errflg=2) in Unknown on line 0
>
> But the quota function does work, so I'm also wondering where "Unknown on
line
> 0" is referring to.
>
> Finally, after upgrading to c-client 2001a, I broke functionality with a
UW-IMAP
> server (our own internal server is running Cyrus IMAP but we also host
webmail
> for several other sites).  What apparently happened is that c-client is
trying
> to negotiate a SSL/TLS connection, based on the server advertising
STARTTLS.
> However, the server doesn't have any certificates installed so this fails
and
> c-client apparently doesn't want to drop back to a normal connection.
Nothing
> has changed on the server so it has to be an issue with going from an
older to a
> newer version of c-client.  I don't know any way of configuring either
c-client,
> or the imap daemon, apart from at compile time, which sort of flies in the
face
> of software useability, in my opinion - I guess thats why we use Cyrus
instead
> of UW-IMAP here (among other reasons).
>
> I know these are apparently all c-client issues but since IMP is written
in PHP
> and PHP requires c-client to get the IMAP stuff to work, I'm thinking its
> relevant and I'm hoping the collective wisdom of this group can shed some
light
> on either similar experiences or perhaps solutions to these issues.
>
> Are there any alternative c-client libraries out there that work with PHP?
Is
> there an easy way to recompile just the IMAP shared library for PHP, after
> modifying the c-client library, without having to recopile all of PHP?
>
> Thanks,
> Kevin
>
> --
> Kevin M. Myer
> Systems Administrator
> Lancaster-Lebanon Intermediate Unit 13
> (717)-560-6140
>
>
> --
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>
>