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

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

 



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 saved their mail on their local machines not on the server. We've moved them to Tbird which does a good job of importing the local mail from Outlook, but now we can't move the mailboxes to the server because they contain barenewlines. So short of patching Cyrus to accept these messages (which I'll only do as a last resort), I was wondering if anybody had a nice little piece of perl that I could let loose on these mailboxes to scrub the bare newlines from them.

Thanks,
Z

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux