Re: Parsing mbox files with Windows Php [message #181753 is a reply to message #181741] |
Wed, 29 May 2013 13:23 ![Go to previous message Go to previous message](/forum/theme/default/images/up.png) ![Go to next message Go to previous message](/forum/theme/default/images/down.png) |
Christoph Becker
Messages: 91 Registered: June 2012
Karma:
|
Member |
|
|
Chuck Anderson wrote:
> And now Christopher Becker seems to have found the problem in his latest
> post.
And it seems I have found a viable solution now. In the UW IMAP FAQs[1]
I found the missing information on how to convert an arbitrary mailbox
to an mbxdriver compatible format (which is actually a binary format).
Creating a new mailbox with
mailutils create #driver.mbx/mailbox
was not possible, so I rebuilt the IMAP tools with CREATEPROTO=mbxproto
as described in the FAQ article. After that I was able to do
mailutils copy old-mailbox new-mailbox
The resulting file new-mailbox could be opened and processed under
Windows (binary distribution of PHP 5.4.7).
[1] <http://www.washington.edu/imap/IMAP-FAQs/#4.5>
--
Christoph M. Becker
|
|
|