imap2mbox
Export your remote IMAP4 folders to local "mbox" file

I have created this simple utility because i want to backup my IMAP4 mailbox (due to a domain transfer). Looking on the net, i'm unable to find something suitable for my needs so i take my IDE and start writing some Python code that help me doing that.
imap2mbox simply connects to remote IMAP4 server and recursively saves all directories (and related messages) to mbox files. After, you can use MHonarc to create an HTML archive ready to be burned into CDs ! If you don't need all fantastic MHonarc features, you can try the new HTML export (from 1.4.0).

NEWS:



If you have python, just download it here (v1.5.0) !

Peter Huewe check imap2mbox with pylint and then wrote to me:
Hi,
I found your little script on google and while I had a look at it I noticed that you mixed spaces and tabs for indenting - this is very confusing if you set your tabstop to e.g. 4

I attached 2 versions - one with minor fixes (tabs -> spaces, added docstrings, wrapped lines at 80 chars) and one with new variable naming according to PEP 8

I would be glad if you could publish v1 or v2 on your homepage
Thanks Peter !