Hi Dan,

first of all, thanks for this work :)

I've had to make a small adjustment to make this work completely. I wonder if this is because of a change in the email or mailbox class between python versions:

I needed to open() the mbox file, and send the resulting file object to mailbox.PortableUnixMailbox(mbox,email.message_from_file)

Might it be that handling of MBOX-files is different from handling of maildirs?

after I made the change, the script ran perfectly :)

Ilja


Dan Weber wrote:

Here is an updated version that can handle mbox, maildir, and mhdir.  Enjoy!

-- Dan

On Sun, Mar 07, 2004 at 08:24:06AM -0500, Dan Weber wrote:

I wrote a python program to handle conversion of flat filesystem maildirs to 
dbmail mailboxen.  It works well, its documented and everything included.

-- Dan







Reply via email to