Check out this link: http://freshmeat.net/projects/mbcp/
I found this script very handy and easy to modify for any special needs. It is a script written in Python and does exactly what you asked for: Move mail from server A to B using IMAP. Dave > > Hi all. > > I'm not 100% sure this is the right place to ask this, but it's the only > mailing list I saw on the Cyrus IMAP website. Please bear with me. > > I'm trying to figure out if there's a way to export and then import via > IMAP? > > That is, if I have IMAP account 1 on server A, and I have IMAP account 2 > on server B, I want to export all of the folders (and messages, if > possible) off of Server A, and then import them onto Server B - giving > me a "backup" of sorts. > > Is there any way to do this? If not, is there any other interest in > developing a tool such as this? > > -- > Michael King > Systems Administrator > Web International, Inc. > > --- > Home Page: http://asg.web.cmu.edu/cyrus > Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > > --- Home Page: http://asg.web.cmu.edu/cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
