Just wanted to post an update and see if anyone had a better solution.

I'm running a Red Hat 9 server with Cyrus imapd 2.2.1 BETA. Thursday at about 17:20 we 
started seeing alarms on our POP monitor for this server. We investigated and found 
that everyone after the letter 'c' had been removed from the DB. After looking through 
the logs we found that ctl_cyrusdb ran at 17:15. We're thinking that this somehow 
caused the problem. UnfortunatJust wanted to post an update and see if anyone had a 
better solution.

I'm running a Red Hat 9 server with Cyrus imapd 2.2.1 BETA. Thursday at about 17:20 we 
started seeing alarms on our POP monitor for this server. We investigated and found 
that everyone after the letter 'c' had been removed from the DB. After looking through 
the logs we found that ctl_cyrusdb ran at 17:15. We're thinking that this somehow 
caused the problem. Unfortunately, we can???t say for sure.

This is what we have done so far:

Stopped cyrus
Ran ???ctl_mboxlist ???d > mboxlist???
Moved the mailboxes.db to another location
Moved the db directory to another location
Moved deliver.db to another location
Did an ls on the directory structure and sent it to dir.txt
Took dir.txt and converted it to the format of mboxlist file (except for the tab on 
the end of each line. Not sure if this caused a problem)
Then did an undump of dir.txt back into mailboxes.db
Started cyrus

The above steps got POP working, but IMAP gives ???Mailbox does not exist??? when 
trying to select the ???INBOX??? using squirrelmail.

I also tried using the reconstruct command before and after moving the mailboxes.db to 
no avail. At this point I???m thinking of writing the ???m option of reconstruct 
unless anyone has some better ideas or has already written something that might help. 
While writing the ???m option I might try to figure out why the ???f and ???r options 
of reconstruct didn???t appear to work in my case. I???m wondering if the ???f and 
???r options don???t work because I???m using the fulldirhash option.

Please help.

Thanks,
Hank

Reply via email to