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
----
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

Reply via email to