appending messages in imaplib

Laurent Pointal laurent.pointal at
Mon Dec 5 16:37:53 CET 2005

huw.lynes at wrote:
> So I have the unfortunate task of migrating several hundred users from
> local mail (mbox and mh) up to an exchange server as part of wearisome
> SOX compliance nonsense.
> I thought the best path through this thicket would be to knock up a
> quick python script using imaplib to replicate folder structures on the
> IMAP server and copy the mails accross.


Have you tried to search for mbox2imap ?

On google the first link is... a Python script.

And there are other entries...

Looking for mh2imap seem quasi unproductive.


More information about the Python-list mailing list