On 09/04/2009 09:06 AM, Patrick Boutilier wrote: > Cyrus 2.2.14 > > I have a user that I can not delete: > > [root@student2 cyrus]# /home/cyrus/deluser.pl cyrust > Login: No Errors > User ACL: OK Completed > IMAP::Admin [ delete ]: couldn't delete user.cyrust : * BYE Fatal error: > Internal error: assertion failed: cyrusdb_skiplist.c: 758: db->is_open > > > So I plan on fixing this by dumping and then importing mailboxes.db > using something like the following. My question is will this be > sufficient? I wouldn't have to run any reconstructs afterwards would I? > > > service cyrus stop > /usr/local/cyrus/bin/ctl_mboxlist -d > /home/cyrus/mailboxes.txt > grep -v 'user.cyrust' /home/cyrus/mailboxes.txt > > /home/cyrus/mailboxes-new.txt #Important to remove mailboxes.db at this point otherwise you are just #adding to mailboxes.db, not replacing it. mv /var/imap/mailboxes.db /var/imap/mailboxes.db.OLD > cat /home/cyrus/mailboxes-new.txt|/usr/local/cyrus/bin/ctl_mboxlist -u > service cyrus start > > > ------------------------------------------------------------------------ > > ---- > 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