Re: IMAP writes takes forever

Raul Dias <[email protected]> Thu, 26 Jan 2006 11:24:56 -0200
Newsgroups gmane.comp.lang.perl.modules.mail-box
Message-ID <[email protected]>
On Wed, 2006-01-25 at 00:02 +0100, André Deblire wrote:
> On 2005-06-03 19:15:50 GMT, Raul Dias wrote:
> 
> > Doing a strace in the script process I saw that it did thousands of
> > FETCH( <TONS of UID> ) FLAGS and SEARCH to the IMAP server.
> > Then <TONS of UID> seems to be one UID foreach message in the IMAP
> > folder.  So if there is 40000 messages in the folder it will keep doing
> > FETCH for every UID.
> > 
> > As I said I have not look into the source to findout if this is really
> > happening into Mail::Box or Mail::IMAPClient.  But I suspect this is
> > happening at Mail::Transport::IMAP4.
> > 
> > Raul Dias
> 
> Hi Raul,
> 
> I'm just experimenting the same problem.
> 
> I haven't seen any follow-up to your message. Did you finally manage to insert 
> messages in big IMAP folders ? 


Hi André,

I solved my problem by using Mail::IMAPClient directly.

Raul