So this weekend I was removing a bad secondary disk from my mail server and ended up doing a hard reset at one point. My system came back pegged and the console.log was full of the messages.
imap [20000]:DBERROR: critical database situation
After some swearing about Cyrus I remembered that apple included those fancy repair buttons in the server admin now. Under the maintenance tab it showed the mail store as 0.0 B in size. So I clicked the cool repair button and the mail store returned to its normal ~300MB in size. However nothing showed up in the accounts tab.
It’s hard to reconstruct a mailstore if you can’t select it in the UI.
I went around searching for some manual instructions that where updated for 10.4.2 of which I didn’t find any. Apple has been changing a lot of mail bits with the 10.4.X releases.
Anyway I will cut to the chase. On the apple forum some dude posted a link to a nice script that solved my DB issues. This tool also does some backup and other neat tricks
It’s called mailbfr and you can download it from here.
http://osx.topicdesk.com/downloads/
The only issue I saw was some old messages showing up as being sent today. However these messages where around for other previous nights of mailboxes.db resurrections and may have been borked at that point..
Blake-
Comments are closed