[Dovecot] versioning of mailbox index files

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Tue Mar 18 07:53:07 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 18 Mar 2014, morrison wrote:

> I am wondering if dovecot assigns version information in mailbox index files so that by which version of dovecot the index files are created can be determined.
>
> Our existing mail service used dovecot 2.2.4 with lots of active mail users. When upgraded to 2.2.10, imap processes aborted all the time due to the corrupted index files (the problem was fixed in dovecot 2.2.5). After investigation, I found that this annoying problem could be avoid by deleting index files before opening a mailbox. Now the problem is how I could know if the index files are created by a version newer than 2.2.4.

I think not, but what about deleting all index files, that are older than 
the day you've installed the new Dovecot version?

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUyf7Y3D1/YhP6VMHAQL3LggAkNcRa2frK5XOSHYTffH26s8s1+FR6Jx0
68FmVZvO/e3R0O7GUcaencfOhFVlTQBWMvtg5URnb2PjngZEPeqbH+gtZ3cDrEDC
MSKuzTn9Ph7X9xQYhhbHp3x/lBRXyJAi5YHeCDPAcfUjYqobMUWMr27HZftIaDyH
RcDCKambOuQ/XbyvmAkPWq8CKTLZDwL41IN2tPvfdfGhYfuAcl8MrWfgxL1OT/Po
9Eb18rnHB+97Z1atolqfUfu4ni6yqQY+TIvNeem2R1OjUBDkfU9IhTJ87lv2cmLP
hOeJU9+FPwlKEj1/Gv+n1wE9JUltuaA3BDxXknlTsZ4/o4txpL0zlA==
=liX7
-----END PGP SIGNATURE-----


More information about the dovecot mailing list