reconstruct/rebuild
Despite what I read, reconstruct CANNOT be run as cyrus (i.e. cyrusimap), it HAS to be run as root yet permissions of files it creates are correct.
The command I think I need to execute is 'reconstruct -m', but this is "not yet implemented".
Apple recommend 'reconstruct -i', yet omit to mention this option and what it does in the man page. In fact it creates mailboxes to match what's in mailboxes.db which is the opposite of what I need.
Running 'Rebuild" on the database in Server Admin does nothing. OK, the mailboxes.db file seems to be new, but it's always the same as the previous one, which is incorrect, hence my need to re-create it.
I am at the end of my tether here. I have all the correct mailboxes and index files for each user, but I cannot see how to rebuild the actual list of mailboxes so that clients can actually see them.
Can anyone please explain how I can recreate mailboxes.db from the mailbox file heirarchy in each user's mailstore? If I delete it before running reconstruct, I get a new file, but it's basically empty.
I've read in docs about the mailboxes file from which mailboxes.db is created, but this doesn't exist on my Leopard server. I assume it must build the .db file from a raw text file, but which one and where is it? If I could manually edit that file and rebuild the .db then I might be in with a chance of getting it working.
So, I could really do with some help here. How can I re-create a CORRECT mailboxes.db file that accurately lists the mailboxes and folders for each user? Hope someone can give me a clue here before I do something I might regret later.
MacPro - Dual 3GHz Quad Core Xeon, Mac OS X (10.4.10), 30" HD display