Attached are: CyrusIndex.pm - my Perl module for directly fiddling index files - it can handle version 9 AND version 10 index files now, and even handles up/downgrades in stream_copy now.
index_uids.pl - a simple tool for dumping the contents of an index file guidhelper.pl - ***WARNING*** this comes with no warranty either expressed or implied and will probably eat your data if you don't use it very carefully - also won't work outside FastMail as-is anyway. I'm posting these more for general interest than out of a belief anyone else will get much use out of them. guidhelper.pl in particular has hooks deep into the FastMail way of doing things, though I tried to abstract the main work component out to where people could use it if they want to spend some time rewriting the "get folder list" bit. I have successfully used guidhelper.pl to simulate the reconstruct instructions given for upgrading without the IO hit of the 'reconstruct -g' on the replica. (I'm thinking evil thoughts of a "guidmode: zero" and setting that on the replicas so they automatically zero during the initial upgrade, but that's possibly not worth the effort for a once-off for just us!) Enjoy, Bron. -- Bron Gondwana [EMAIL PROTECTED]
IndexFile.pm
Description: Perl program
index_uids.pl
Description: Perl program
guidhelper.pl
Description: Perl program