transfering mailboxes server to server via imap

I am in the process of migrating one of my sites between machines and have run into a bit of a problem. I need to move about 600 mailboxes and really don't want to do it by hand.

It should be known that I have root access to both, in fact they are both in the same building as me. They both are running FreeBSD and an almost identical software config.

The problem is that I have moved to a more efficient directory hierarchy for the mailboxes that will keep me from simply copying them from one machine to the other. It should also be noted that all of the mailboxes have been created (empty) on the new machine.

So I have been trying to think up a slick way to move them and was wondering if standard imap servers had such a capability builtin. I'll admit that I haven't researched this too heavily yet, but it would sure be great if anyone here had any suggestions or advice for me. Thanks ahead of time for any useful bits of insight.

 

 

 

 

Top