On Sun, Oct 17, 2004 at 03:44:07AM +0200 or thereabouts, Simon Matter wrote: > > Hi, > > > > I want to erase all information for mailboxes to have a fresh start. > > > > I am running cyrus version 2.1.16 at a debian testing server. > > > > I have had copied hundreds of user mailboxes and shared folders partly > > by mistake to the wrong sytstem path and have built the mailboxes.db > > by a script running reconstrut for all folders and all user mailboxes > > which led to a mailbox.db which has information about mailboxes which > > are not used. FYI: I have had a mistake at my rsync script because of > > whitespaces, so subfolders were not sent to the right place but spread > > over to incorrect folders. > > > > When detecting the malplaced folders, I decided to correct my rsync > > script and run it after having erased all folders and user mailboxes. > > Now I have the correct system path structure, that is ok so far. > > > > How do I rebuild the cyrus mailboxes internal information from scratch > > getting cyrus forget about nonexistent mailboxes? > > > > The argument -m is unfortunately not supported at this version of cyrus. > > > > Can I "echo > mailboxes.db" and run a reconstruct again and everything > > is fine? > > I think you have to create a mailbox list with a suitable script. Then you > can remove the mailboxes.db and import the mailbox list into a new > mailboxes.db.
Hi Simon and others, the script is already done and waiting to be run :) I am just unsure if this single action does the trick and no harm. What are the other db files at /var/lib/cyrus/db for? Are they affected by this action? cu Sascha --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html