question on reconstuct -m

Hello,

I have a question on reconstuct -m. I have been doing some testing on a test server an noticed something strange. The test server is JES2005Q4 with patch -51 on it.

In playing around and learning about how to recover mailboxes, I have a test user that I did a unix rm folder on. That is just simply removed a folder under their =testuser directory. I then thought I would run reconstuct -m and that it would see that it was gone and remove it from the mboxlist database. To my surprise it did not. It just warned that the folder did not exist.

If I then did a reconstruct -r user/testuser, it actually recreated the folder empty.

Is this normal? If I remember right in the 5.2 version of the messaging server it simply removed the folder from the mboxlist database and that was it.

Thanks,

Gary

[845 byte] By [gpeck1] at [2007-11-26 10:16:54]
# 1
Certainly possible that the behavior changed from 5.2 to 6.2. Best way to "remove" a user's mailbox continues to be mboxutil -r user/userid/INBOX
jay_plesset at 2007-7-7 2:10:54 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2
I'm confused. I thought mboxutil -r would relocate a user mailbox and mboxutil -d would delete the mailbox.
bjatko at 2007-7-7 2:10:54 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3
Hi,Thats correct. I think Jay made a typo.Shane.
shane_hjorth at 2007-7-7 2:10:54 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 4
Jay,While we're on the subject; for Messaging Server 6.2, what is the effective difference between reconstruct -m and reconstruct -r anyway? What circumstances call for the use of one over the other.Thanks
bjatko at 2007-7-7 2:10:54 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 5
reconstruct -r checks the contents of each mailbox against the "index" file. If the number of messages is different, the index is updates.reconstruct -m checks the folders database against the folders on disk, and fixes as needed.
jay_plesset at 2007-7-7 2:10:54 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...