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

Hans Moser hans.moser at ofd-sth.niedersachsen.de
Wed Aug 1 06:02:19 EDT 2007


Hans Moser schrieb:

> Every user account here by default is created with a "Spam"-folder.
> Now we like to rename all the users' Spam-folder to "Junk".
> (Because Thunderbird by default uses the Junk-folder for this junk filter.)
> 
> What is the best way to do this?
> Has anyone a shell / perl script for this?
> 
> If I do this outside IMAPd (i.e. by shell's mv command), I have to run
> reconstruct to repair mailboxes.db, right?
I was wrong here.
If I do it this way, recontruct creates an Junk entry in mailboxes.db, 
but also recovers the (not more existing) folder Spam.
So I have to edit mailboxes.db "by hand". :(

Hans


More information about the Info-cyrus mailing list