Hi, All, I am new here and I need your advises. Here is my story: I have a mail server like this: - CentOS 5 32 bit (LAMP) - Postfix 2.3 - Courier - MailScanner Courier use maildir to save emails in /home/vmail/<virtual domain>/<user> / Now I want to build a new system on CentOS 6.4 64bit with postfix, dovecot and migrate all user accounts and their emails. I already installed CentOS 6.4, postfix and mysql. Also just installed Dovecot v2.2.4 from the RPM. Now I am looking into how to Is there a good instruction on how to do this kind of migration? I still prefer using the maildir system. If I just copy all users email from old server to new dovecot user maildir, will dovecot see these mails (and sub-folders) ? Do I need do anything extra? Thanks in advance. Gao -- __ _|==|_ ('')__/>--(`^^')(`^'^'`) `======'
Hello, Yes, I did that some years ago. Just create a working Dovecot installation and then copy the Maildirs (with correct permissions/owners etc). They probably have some additional housekeeping files from Courier, I believe Dovecot even can use some of them, but anyway they do no harm. Best wishes Eugene -----Original Message----- From: J Gao Sent: Tuesday, July 16, 2013 2:13 AM To: dovecot at dovecot.org Subject: [Dovecot] courier to dovecot Hi, All, I am new here and I need your advises. Here is my story: I have a mail server like this: - CentOS 5 32 bit (LAMP) - Postfix 2.3 - Courier - MailScanner Courier use maildir to save emails in /home/vmail/<virtual domain>/<user> / Now I want to build a new system on CentOS 6.4 64bit with postfix, dovecot and migrate all user accounts and their emails. I already installed CentOS 6.4, postfix and mysql. Also just installed Dovecot v2.2.4 from the RPM. Now I am looking into how to Is there a good instruction on how to do this kind of migration? I still prefer using the maildir system. If I just copy all users email from old server to new dovecot user maildir, will dovecot see these mails (and sub-folders) ? Do I need do anything extra? Thanks in advance. Gao -- __ _|==|_ ('')__/>--(`^^')(`^'^'`) `======'
On Mon, Jul 15, 2013 at 03:13:54PM -0700, J Gao wrote:> Now I want to build a new system on CentOS 6.4 64bit with postfix, > dovecot and migrate all user accounts and their emails.I assume you've already reviewed the migration pages on the wiki? http://wiki2.dovecot.org/Migration/Courier My only advice would be to consider dropping the INBOX. prefix - this has some significant affects for the migration but will prevent headaches from clients that don't handle namespaces correctly (like all iOS devices.) Or, maybe add a second hidden namespace for INBOX. compatibility so existing clients that are hard coded hopefully wont trip up on themselves too bad. -- Kelsey Cummings - kgc at corp.sonic.net sonic.net, inc. System Architect 2260 Apollo Way 707.522.1000 Santa Rosa, CA 95407