[horde] [imp] Problem with mailbox download

garnier@embratel.com.br garnier at embratel.com.br
Mon Mar 6 04:50:50 PST 2006





Thanks for the tip, but I don´t know how does a zlib stream filter work.
I´ll search for this.
Is there something like this in PHP 4?



Date: Sat, 04 Mar 2006 18:31:51 +0100
From: Jan Schneider <jan at horde.org>
Subject: Re: [imp] Problem with mailbox download
To: imp at lists.horde.org
Message-ID: <20060304183151.9dro6u0stcks0sw8 at neo.wg.de>
Content-Type: text/plain;     charset=UTF-8;    DelSp="Yes";
format="flowed"

Zitat von garnier at embratel.com.br:

> 1 - I guess I could do that, but the problem is that, after creating an
> array with each message data and name, IMP passes this to
> $horde_compress->compress(), which returns a string with zip content. So
> you can?t avoid a variable size limitation with this. Any ideas?

You didn't mention that you are trying to download the mailbox in a
ZIP file. In this case it might be possible to a zlib stream filter in
PHP 5.

> Date: Fri, 03 Mar 2006 14:59:59 +0100
> From: Jan Schneider <jan at horde.org>
> Subject: Re: [imp] Problem with mailbox download
> To: imp at lists.horde.org
> Message-ID: <20060303145959.eacxrlf728scggoo at neo.wg.de>
> Content-Type: text/plain;     charset=UTF-8;    DelSp="Yes";
> format="flowed"
>
> Zitat von garnier at embratel.com.br:
>
>> I?ve checked IMP code for downloading mailboxes as a .mbox file. It
> passes
>> the content of all messages in that mailbox to a variable, which is
> echoed.
>> Correct if I?m wrong, but I see 2 problems related to that:
>>
>> 1 - there should be a limitation for the mailbox size (I guess it?s
>> probably related to PHP memory_limit variable)
>>
>> 2 - IMP stays "freezed" while you?re downloading a mailbox. If you click
> on
>> any link on the browser (ex: compose new message), the new page isn?t
> shown
>> until the download finishes.
>>
>> Is there any way to avoid these problems?
>
> Re 1: You could maybe change the code the code to echo the messages in
> chunks instead.
> Re 2: No.

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/




More information about the horde mailing list