I don't know how many users you have, and there might be a cyrus utility for this, I can't recall. The quick and dirty fix is something along the lines of for i in `sudo -u cyrus ./ctl_mboxlist -d | awk -F'\t' '{print $1}' | awk -F'.' '{print $2}' | uniq`; do find /var/spool/cyrus -type d -name $i | xargs mv /var/spool/imap/user/$i; done This will dump your mailbox to get the list of users, if you have a list or whatever, you can use that as well, this just meant as an example. I would suggest not using the mv command the first time to make sure that it works. This works on my system, no warantees :) HTH, B eMail Lists wrote: > > > On 7/27/07, *Simon Matter* <simon.matter@xxxxxxxxx > <mailto:simon.matter@xxxxxxxxx>> wrote: > > > Very nice.. Thank you. It looks like my deliver.db is still a > db(x) file. > > Can the files in db/ just be erased and when cyrus starts up it > creats new > > files or do the __db* files ned to be converted. I am not sure > how to > > tell > > if those are db(x) or skiplist. > > That's something I don't know exactly. I think there are files > created by > BDB and skiplist in the db/ dir. > At least the deliver.db you should be able so simply remove it an > it will > be created on startup again. But make sure you configure it as > skiplist > before, if you want that. > > Simon > > > OK, I have cyrus up and running but I can not get into the user > accounts yet... I am not to sure how to move the user directories from > the u/a/user/xxx to the /var/spool/cyrus/mail/user/xxxxx. I have set > the proper parm in /etc/imap.conf and also used Debian's > cyrus-makedirs but I was hoping it would move the user mailboxes. Do > I need to do that by hand or does the system do it .. it is the equiv > to the 'makedir', something like that. > > The reason is because I am getting > cyrus/imap[13131]: IOERROR: opening > /var/spool/cyrus/mail/user/xxx/cyrus.header: No such file or directory > > The user dir is not at the location yet. > > -Adam > ------------------------------------------------------------------------ > > ---- > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ > Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html ---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html