On 10/02/09 08:15 AM, Sergey Poznyakoff wrote: > Thomas Guyot-Sionnest <[email protected]> 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:[email protected]/ /tmp/mbox1 movemail: mailbox `imap://user:[email protected]/': Cannot open: DNS name resolution failed As soon as you add a folder, parse error: $ movemail imap://user:[email protected]/Test /tmp/mbox2 movemail: Could not create mailbox `imap://user:[email protected]/Test': Parse error Thanks, -- Thomas _______________________________________________ Bug-mailutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-mailutils
