[Dovecot] corrupted index cache file, physcial size, in migration to snow leopard

Norman Packard nhpackard at mac.com
Wed Apr 21 19:15:25 EEST 2010


Hi,

I am in the middle of migrating a server from Apple's leopard to snow  
leopard.  Having big problems with migrating mail to dovecot.  The  
version is:

# dovecotd --version
1.1.17apple0.5

and I use the migration script provide by Apple,

/usr/libexec/dovecot/migrate_mail_data.pl

The current problems concern migrating imap accounts.

The old data typically shows up to mail clients as only partially  
migrated, with some issues there, like folders change from being  
listed on the server to being listed locally, but the biggest problem  
is that many many messages and folders have disappeared from view.

But on the server, they seem to be there, in their correctly migrated  
place.

The log files are full of messages like the ones below, which I'm  
guessing has something to do with the problem.  The number of files  
with this problem is huge.

Are there any scripts to rebuild the index cache files with correct  
physical sizes?

Thanks in advance for any help!

Best,
	Norman


Apr 21 08:05:47 newhot dovecot[31163]: IMAP(*): Corrupted index cache  
file /Volumes/xserveHD2/var/spool/imap/dovecot/mail/A1F36563-F978-4F99- 
A1FF-EC5D223F18D6/dovecot.index.cache: Corrupted physical size for  
uid=8142: 4325 != 4214
Apr 21 08:05:50 newhot dovecot[31163]: IMAP(*): Corrupted index cache  
file /Volumes/xserveHD2/var/spool/imap/dovecot/mail/A1F36563-F978-4F99- 
A1FF-EC5D223F18D6/dovecot.index.cache: Corrupted physical size for  
uid=8145: 4625 != 4510
Apr 21 08:05:53 newhot dovecot[31163]: IMAP(*): Corrupted index cache  
file /Volumes/xserveHD2/var/spool/imap/dovecot/mail/A1F36563-F978-4F99- 
A1FF-EC5D223F18D6/dovecot.index.cache: Corrupted physical size for  
uid=8148: 4037 != 3956
Apr 21 08:06:04 newhot dovecot[31163]: IMAP(*): Corrupted index cache  
file /Volumes/xserveHD2/var/spool/imap/dovecot/mail/A1F36563-F978-4F99- 
A1FF-EC5D223F18D6/dovecot.index.cache: Corrupted physical size for  
uid=8158: 4673 != 4571





More information about the dovecot mailing list