Tool to copy IMAP folders from one server to another

Posted by Barry Brown on Server Fault See other posts from Server Fault or by Barry Brown
Published on 2008-10-08T17:24:12Z Indexed on 2011/02/05 7:27 UTC
Read the original article Hit count: 515

Filed under:
|

I need a Unix-based tool, such as a shell script or command-line program, to copy IMAP folders from one server to another. Ideally, the tool should copy all the folders for a single account (Inbox, Sent, Trash, and user-created folders) at once, rather than one folder at a time. It should preserve message dates. As an option, I'd like to be able to copy just a single IMAP folder.

Alternatively, is there a tool to copy an mbox file to an IMAP server? I have direct access to the mbox files in the filesystem, but not to the filesystem of the remote IMAP server.

Edit: Is there a way for a user to migrate their own questions to Server Fault?

© Server Fault or respective owner

Related posts about sysadmin

Related posts about imap