Re: rename bunch of folders [auf Viren überprüft]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Aug 1, 2007, at 09:19, Hans Moser wrote:

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

If you're re-importing the entire mailboxes.db, you have to delete  
the database file itself and let it re-create it.

-u "updates" it, but doesn't remove things.

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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux