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
cat /home/cyrus/mailboxes-new.txt|/usr/local/cyrus/bin/ctl_mboxlist -u
service cyrus start
begin:vcard
fn:Patrick Boutilier
n:Boutilier;Patrick
org:;Nova Scotia Department of Education
adr:;;2021 Brunswick Street;Halifax;NS;B3K 2Y5;Canada
email;internet:boutilpj@xxxxxxxxxxx
title:WAN Communications Specialist
tel;work:902-424-6800
tel;fax:902-424-0874
version:2.1
end:vcard
----
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