rename bunch of folders [auf Viren überprüft]
Hans Moser
hans.moser at ofd-sth.niedersachsen.de
Wed Aug 1 09:19:37 EDT 2007
Hans Moser schrieb:
> If I do this outside IMAPd (i.e. by shell's mv command), I have to run
> reconstruct to repair mailboxes.db, right?
First I remove the Spam dir in the file system.
# rm -rf /var/imap/users/foo/Spam
When I dump mailbox.db
# /opt/mail/cyrus/ctl_mboxlist -d > file
, edit dump file and delete the Spam folder row, restore mailbox.db
# /opt/mail/cyrus/ctl_mboxlist -u < file
and dump again
# /opt/mail/cyrus/ctl_mboxlist -d
, the row is still in.
How do I get rid of the Spam folder?
Hans
More information about the Info-cyrus
mailing list