bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-mailutils] Re: Bugs in movemail with IMAP folders


From: Thomas Guyot-Sionnest
Subject: [bug-mailutils] Re: Bugs in movemail with IMAP folders
Date: Tue, 10 Feb 2009 23:54:40 -0500
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

On 10/02/09 08:15 AM, Sergey Poznyakoff wrote:
> Thomas Guyot-Sionnest <address@hidden> ha escrit:
> 
>> $ /opt/mailutils/bin/movemail -p imap://<user>:<pw>@<host>/ /tmp/mbox
>> Cannot append message 1: Cannot allocate memory
>>
>> The server is Exchange 2003
>>
>> I'm not sure how I can debug this with a debugger, but I traced the
>> error (printed in movemail/movemail.c:244) using printf's
>>
>> The status is cascaded from these:
> 
> Thanks, that clarified the situation. It has nothing to do with urls,
> however. Please, try the attached patch. Let me know if it works for
> you.

It fixes the "Cannot allocate memory" error.

With it I can fetch INBOX using mailutils-2.0. I still get the parse
error if I specify a folder and I'd expect to the quoting patch to be
required as well.

I guess you can easily figure out that one - here's sample urls for testing:

Works (dns error, obviously):
$ movemail imap://user:address@hidden/ /tmp/mbox1
movemail: mailbox `imap://user:address@hidden/': Cannot open: DNS
name resolution failed

As soon as you add a folder, parse error:
$ movemail imap://user:address@hidden/Test /tmp/mbox2
movemail: Could not create mailbox
`imap://user:address@hidden/Test': Parse error

Thanks,

--
Thomas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]