On Mon, 2004-07-05 at 13:14, Allen Unueco wrote: [snip]
> I've found a few mbox2imap scripts and but none of them work completely. The > one from http://teyandei.net/projects worked the best, but on the two large > mbox files I've tried both exited out with an error during imap.append() > claiming the email had a bad header. I wish I could get some more detailed info > regarding the 'bad header' but thats all I get. I do wish the Cyrus error message would include something that identified the header and message ... but I suppose that's really the client's problem. Clients should print this info when they print an error about a failed message insertion. Most, unfortunately, don't. [snip] > Has anyone had these problems before? Yep. > What is the best way to bring legacy email into Cyrus? I found mailutil from the uw-imap distribution did the trick fine. If you run it in verbose mode, it'll also let you identify what message it's complaining about when you get errors about bad headers or messages containing NULL characters. I was migrating from another IMAP server, but it's probably even easier from mbox because you can easily fix the mbox files. -- Craig Ringer --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html