On Mon, 2007-03-05 at 01:21 -0800, Dan Price wrote:
Part of our migration plan takes our users from one endianness to another (big to little). Will the index and mail cache files survive?
It should rebuild the index files silently and automatically.
I'm seeing some new core dumps as the first test user is migrated, which makes me think... not.
Looks like the endianess check was done a bit too late. This should fix it: http://dovecot.org/list/dovecot-cvs/2007-March/007927.html
What about if we want to build dovecot 64 bit in the future? Will that cause problems too?
No, the index files will survive that change. If sizeof(off_t) changes then dovecot.index.cache file gets rebuilt, but the default is to use 64bit offsets also with 32bit machines (at least with Linux and Solaris).
dovecot: Mar 01 09:20:44 Warning: IMAP(foobar): fscking index file /home/foobar/ Mail/imapd-indices/Mail/.imap/NDMP/dovecot.index dovecot: Mar 01 09:20:44 Error: child 111112 (imap) killed with signal 11
http://dovecot.org/list/dovecot-cvs/2007-March/007929.html should fix this.