I have a program you may download from sourceforge which will usually correct corrupt MBX files.
The url is http://sourceforge.net/projects/mbxuncorrupter/ You may be able to fix the MBX file then mailutil won't gripe. Any unrecoverable mail fragments will be put into separate text files. Hope this helps. TomC Quoting Nicolas Kowalski <[EMAIL PROTECTED]>: > Cliff Green <[EMAIL PROTECTED]> writes: > > > Today at 7:17pm, Nicolas Kowalski wrote: > > > NK> When I use mailutil transfer to copy a whole mailbox hierarchy from a > > NK> uw-imap server to a cyrus one, it sometimes fails with the error > > NK> "message contains invalid header", and then stops. > > NK> > > NK> Is there a way to make mailutil ignore these badly formatted messages > > NK> and continue the transfer ? > > [...] > > > So, no - you can't make mailutil ignore them, but you can remove them so > > it doesn't have to. > > Yes, that's what I will do. > > Thanks. > > -- > Nicolas > ------------------------------------------------- Email solutions, MS Exchange alternatives and extrication, security services, systems integration. Contact: [EMAIL PROTECTED]