deletemailbox: System I/O error

Robert Scussel rscuss at
Wed Nov 12 08:28:41 EST 2003

I actually had this problem when trying to reconstruct some mailboxes 
after a migration. I had to move/delete the mailboxes.db file and then 
import the new one.


Denis I. Morozov wrote:
> Simon Brady wrote:
>> You need to delete them from the mailboxes database: easiest way 
>> (although it involves restarting your server) is to dump the database 
>> to text with ctl_mboxlist -d, edit the output text file and remove all 
>> lines referring to the user, then reimport with ctl_mboxlist -u.
> it's not work, I used (of course, cyrus server stopped):
> ctl_mboxlist -d > cyrusdb.txt
> I removed user from text file and:
> ctl_mboxlist -u < cyrusdb.txt
> ctl_mboxlist -d | grep vvs
> user.vvs        default vvs     lrswipcda       cyrus   lrswipcda
> if I use "-x" switch, ctl_mboxlist print first record of db and hang. 
> Can I manually delete mailboxes.db, and reconstruct all records from dump?

Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959

More information about the Info-cyrus mailing list