root@yuma.acns.colostate.edu wrote:
We are working on migrating Dovecot 1.2.17 running on AIX 5.3 (believe it or not!) to Dovecot 2.0.13 running on Ubuntu. We have hundreds of users mboxes we will be migrating. My question is regarding the index files. Should we remove those after the migration, but before we open it up to users so Dovecot can create new ones?
I did a test migration of a single user, and Dovecot detects the architecture change and put out some panic errors, corrupt files and backtrace messages in syslog on Ubuntu. The messages are shown below. If every user is going to generate these types of errors, I'm thinking maybe it makes sense to remove all the .imap directories and let Dovecot create new clean ones. I realize that may slow things down for awhile while Dovecot is rebuilding new files.
Which mail storage format (mbox,maildir,sdbox,mdbox) are you using and is it stored on NFS?
Would you provide your "doveconf -n" output for dovecot 2.0.13, please?
You might also have a look at imapsync[1] for clean mass migration from one architecture to another.
Regards Daniel