Sorry for the delay. I have tried and failed to use dsync properly. What would the format and usage of the command be? I have all my old Mbox mail file called user onto the new server under /home/trans and used dsync as follows:
dsync -v -u user backup user@domain.com
All I get back is the usage. Also, another concern. Will the dovecot indexes be recreated as they where on the old server. I ask this question since the mbox file does not have the associated dovecot indexes. I know Im foobaring/newbying something simple at this point. Any help would be appreciated. The real question is will the clients have to redownload their emails as I described in the first post.
From: Timo Sirainen tss@iki.fi To: Tim E. silent_wumpus@yahoo.com Cc: Dovecot List Mailing dovecot@dovecot.org Sent: Tuesday, September 11, 2012 2:50 PM Subject: Re: [Dovecot] Dovecot 1.x POP3 to Dovecot 2.x POP3 mbox to Maildir best transfer program/method
On 7.9.2012, at 22.32, Tim E. wrote:
I have a box running Dovecot 1.x POP3 only server using mbox format. I want to port the mail over to a Centos 6.3 box running a Dovecot 2.x POP3 only server using Maildir format. The main thing I want to do is support XUID/read/unread status so the transfer is transparent for the end user. I have been able to achieve transfers from the mbox format to Maildir but loose the XUID/read/unread status so that the Thunderbird client always re-downloads all the mail as if it were new. Ive googled and I have tried the following:
dsync : dovecot 1.x server is too old and doesnt support the command? mb2md.pl: transfers the mbox to maildir and creates file dovecot-uidlist but the Thunderbird client redownloads the files virtualmin copy-mailbox: transfers the mailbox to Maildir but doesnt reproduce the dovecot indexes.
Any thoughts would be appreciated. I would like to produce a howto of the process when I am done.
Copy the mboxes to the new v2.x server and use dsync to convert them to maildir.