How can i to contain the modules on debian???
sebastian segeth
sebastian.segeth@fernuni-hagen.de
Thu, 07 Mar 2002 16:36:55 +0100
Hi all,
my test.php3 page show me that:
PHP Module Capabilities
* IMAP Support: No
* Without IMAP support, IMP <http://horde.org/imp/> will not run.
You will need to fix this if you want to run IMP.
* LDAP Support: No
* MySQL Support: No
* PostgreSQL Support: No
How can i contain the modules?
>From yann@infra.kth.se Date: Thu, 7 Mar 2002 16:45:31 +0100
Return-Path: <yann@infra.kth.se>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 98448 invoked from network); 7 Mar 2002 15:45:33 -0000
Received: from bach.infra.kth.se (130.237.68.4)
by clark.horde.org with SMTP; 7 Mar 2002 15:45:33 -0000
Received: from localhost (localhost.localdomain [127.0.0.1])
by bach.infra.kth.se (Postfix) with ESMTP id E8CE54B929
for <imp@lists.horde.org>; Thu, 7 Mar 2002 16:45:31 +0100 (CET)
Received: from 130.237.68.149 ( [130.237.68.149])
as user yann@bach.infra.kth.se by bach.infra.kth.se with HTTP;
Thu, 7 Mar 2002 16:45:31 +0100
Message-ID: <1015515931.3c878b1bc9fec@bach.infra.kth.se>
Date: Thu, 7 Mar 2002 16:45:31 +0100
From: yann@infra.kth.se
To: imp@lists.horde.org
References: <3C878917.6020006@fernuni-hagen.de>
In-Reply-To: <3C878917.6020006@fernuni-hagen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.1-cvs
Subject: Re: [imp] How can i to contain the modules on debian???
Quoting sebastian segeth <sebastian.segeth@fernuni-hagen.de>:
> * IMAP Support: No
> * Without IMAP support, IMP <http://horde.org/imp/> will not run.
> You will need to fix this if you want to run IMP.
> * LDAP Support: No
> * MySQL Support: No
> * PostgreSQL Support: No
>
> How can i contain the modules?
Packages php4-imap, php4-ldap, php4-mysql and php4-pgsql.
They can all be installed with "apt-get install".
You could use the php3- or even php3-cgi- versions if you use that flavor of php.
A convenient way to ask APT about this kind of thing is "apt-cache search";
for instance, "apt-cache search php postgres" turned up this:
imp - Web Based IMAP Mail Program.
libphp-adodb - The 'adodb' database abstraction layer for php.
mnogosearch-php - PHP frontend for mnoGoSearch
php3 - A server-side, HTML-embedded scripting language
php3-cgi - A server-side, HTML-embedded scripting language
phpgroupware-unstable-apps - phpGroupWare assorted unstable applications.
phppgadmin - A set of PHP-scripts to administrate PostgreSQL over the WWW.
postaci - Web Based Protocol Independent(IMAP, POP3) Mail Program
odontolinux - Dental office management software (PHP4 + PostgreSQL)
php3-cgi-pgsql - PostgreSQL module for PHP3 (cgi)
php3-pgsql - PostgreSQL module for PHP3 (cgi)
php4-pgsql - PostgreSQL module for php4
>From robert.marchand@umontreal.ca Date: Thu, 7 Mar 2002 11:19:28 -0500
Return-Path: <robert.marchand@umontreal.ca>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 246 invoked from network); 7 Mar 2002 16:25:07 -0000
Received: from bouleau.dit.umontreal.ca (132.204.2.116)
by clark.horde.org with SMTP; 7 Mar 2002 16:25:07 -0000
Received: (from apache@localhost)
by bouleau.dit.umontreal.ca (8.11.6/8.11.6) id g27GJSP31528
for imp@lists.horde.org; Thu, 7 Mar 2002 11:19:28 -0500
Received: from 132.204.41.142 ( [132.204.41.142])
as user marchanr@poste.UMontreal.CA by bouleau.dit.umontreal.ca with HTTP;
Thu, 7 Mar 2002 11:19:28 -0500
Message-ID: <1015517968.3c879310ba41f@bouleau.dit.umontreal.ca>
Date: Thu, 7 Mar 2002 11:19:28 -0500
From: Robert Marchand <robert.marchand@umontreal.ca>
To: imp@lists.horde.org
References: <5.1.0.14.1.20020226092604.02d86b10@poste.umontreal.ca> <5.1.0.14.1.20020221143608.02d28b60@poste.umontreal.ca> <5.1.0.14.1.20020221143608.02d28b60@poste.umontreal.ca> <5.1.0.14.1.20020226092604.02d86b10@poste.umontreal.ca> <5.1.0.14.1.20020305095529.02d5a4b0@poste.umontreal.ca> <005e01c1c46e$c5f99780$0202a8c0@yipintsoi.com>
In-Reply-To: <005e01c1c46e$c5f99780$0202a8c0@yipintsoi.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.0
X-Originating-IP: 132.204.41.142
Subject: Re: [imp] imap_utf7 calls and Exchange server
Hi,
I've tried it! Had to change it so it worked with the Unicode page
that Exchange send. I've found that the decoded string had a NULL byte
as the first and a latin1 value as the second. So for me, the new
solution is just to drop the NULL byte:
function my_imap_utf7_encode($y)
{
// Convert high-ascii to unicode 0.
$y2 = "";
$char1 = chr(0);
for ($i=0; $i<strlen($y); $i++) {
$char = substr ($y, $i, 1);
if (ord($char) > 127) {
$y2 .= $char1;
}
$y2 .= $char;
}
$out = imap_utf7_encode($y2);
return $out;
}
function my_imap_utf7_decode($y)
{
$out = imap_utf7_decode($y);
$out2 = "";
for ($i=0; $i<strlen($out); $i++) {
$char = substr($out,$i,1);
if (ord($char) == 0) { // $char == NULL
$i++;
$out2 .= chr(ord(substr($out,$i,1)));
} else {
$out2 .= $char;
}
}
return $out2;
}
No need to use mb_convert_encoding but this only works on Redhat with
the php rpm from Horde.org. On all my SGI boxes, there seem to be a
problem with PHP and the NULL bytes. In that case your functions work
better. The problem with both your functions and mines is that it is
very charset specific.
Thanks.
Quoting Metee Khanongnuch <may@yipintsoi.com>:
> Please try it.
>
> http://es.yipintsoi.com/download/horde/utf7/
>
> :-)
>
> ----- Original Message -----
> From: "Robert Marchand" <robert.marchand@UMontreal.CA>
> To: <imp@lists.horde.org>
> Sent: Tuesday, March 05, 2002 10:18 PM
> Subject: Re: [imp] imap_utf7 calls and Exchange server
>
>
> In fact, I'm talking about the charset. Exchange imap server uses Unicode
> as the charset
> and send folders names with Unicode as opposed to latin1 or other 8-bit
> charsets. And, according
> to rfc 2060 that you quoted it has right to do that:
>
> > All other characters (octet values 0x00-0x1f, 0x7f-0xff, and all
> > Unicode 16-bit octets) are represented in modified BASE64, with a
> > further modification from [UTF-7] that "," is used instead of "/".
>
> The convention includes 8-bit values (0x7f-0xff) which are the latin1 codes
> but also Unicode that Microsoft
> use. There is the problem. The "imap_utf7" don't seem to care about
> Unicode and that breaks IMP. I first tought
> that the rfc2060 "forced" to use Unicode but I'm not sure anymore (my
> knowledge of this is VERY recent).
>
> There is one thing for sure: Folders in Exchange Server don't appears as
> they should! Is this PHP fault? IMP fault?
> Exchange fault? I don't know. All I want is a solution that will work with
> Exchange and with other imap servers.
> My solution works for me but is only valid for latin1 users
> (ISO-8859-1). My question was refering to the fact that I could use a
> variable in place of hardcoding the charset. Is there such a variable in
> IMP 3.0?
>
> Thanks.
>
>
> --
> 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
>