Re: A script for fixing bare newlines in mailbox files?

2007-01-12 Thread Joseph Brennan
--On Thursday, January 11, 2007 17:35 -0500 Zachariah Mully [EMAIL PROTECTED] wrote: Howdy all- We've been bitten by migrating some of our people from Outlook to Thunderbird, and then using Tbird to move their mail off their local machines onto the IMAP server where it belongs.

Re: A script for fixing bare newlines in mailbox files?

2007-01-12 Thread Jorey Bump
Joseph Brennan wrote: When moving from U Wash to Cyrus we applied this rewrite to all mailboxes. Get rid of any nulls while you're at it. while() { # The \000 character (NUL) is not allowed if ($line =~ s/\000//g) { print STDERR WARNING: Removing NUL\n; } # Change CRLF or

Re: A script for fixing bare newlines in mailbox files?

2007-01-12 Thread Joseph Brennan
--On Friday, January 12, 2007 12:18 -0500 Jorey Bump [EMAIL PROTECTED] wrote: Did any users report any further corruption of what is arguably already a corrupted message? I'm not familiar with the cause of this problem, but having encountered it before, mainly with messages that have large

A script for fixing bare newlines in mailbox files?

2007-01-11 Thread Zachariah Mully
Howdy all- We've been bitten by migrating some of our people from Outlook to Thunderbird, and then using Tbird to move their mail off their local machines onto the IMAP server where it belongs. Unfortunately we've not patched Cyrus to accept bare newlines, nor intend to... Since I have

Re: A script for fixing bare newlines in mailbox files?

2007-01-11 Thread Andreas Winkelmann
On Thursday 11 January 2007 23:35, Zachariah Mully wrote: We've been bitten by migrating some of our people from Outlook to Thunderbird, and then using Tbird to move their mail off their local machines onto the IMAP server where it belongs. Unfortunately we've not patched Cyrus to

Re: A script for fixing bare newlines in mailbox files?

2007-01-11 Thread Zachariah Mully
Andreas Winkelmann wrote: What do you mean with bare newlines in mailboxes.db? What does an Export as Textfile show? (as cyrus) $ ctl_mboxlist -d Sorry, I meant the raw mailboxes used by Tbird on their own machines. Because they were originally using Outlook, many people inadvertently