On Fri, 2011-11-04 at 22:19 +0100, Jan-Frode Myklebust wrote: > > For deleting indexes and other dirs that are not under home.. well.. I > > guess you'll need some more scripting. > > What happens to the indexes when we delete the mailboxes via "doveadm > mailbox delete" ? Will that clean up the indexes ?
Yes. So you could create a script that lists all mailboxes, deletes them and then rmdirs the index root dir.
