[Dovecot] Delete unused IMAP keywords from permanetflags
Hi.
I'm using dovecot 2.0.9. Is there already a way to remove unused IMAP keywords from a folder?
I searched in google, wiki, etc. but didn't find anything useful.
Thanx. Regards Erny
On 6.5.2011, at 12.26, Ernesto Revilla Derksen wrote:
I'm using dovecot 2.0.9. Is there already a way to remove unused IMAP keywords from a folder?
I've thought about implementing it, but haven't yet. I thought that maybe it could remove them only when adding a new keyword, or possibly after it hadn't been used for n days (e.g. a month). Also I had thought about adding new IMAP commands to add/remove keywords.
Hi
2011/5/6 Timo Sirainen <tss@iki.fi>
On 6.5.2011, at 12.26, Ernesto Revilla Derksen wrote:
I'm using dovecot 2.0.9. Is there already a way to remove unused IMAP keywords from a folder?
I've thought about implementing it, but haven't yet. I thought that maybe it could remove them only when adding a new keyword, or possibly after it hadn't been used for n days (e.g. a month). Also I had thought about adding new IMAP commands to add/remove keywords.
Well, I think it's not that important, as we would use another front-end to define labels (keywords).
Will we have problems if more than 26 keywords are defined in a folder but only a subset is used? (maildir++) Renaming keywords would also be a nice feature.
Thanks. Erny
On Mon, 2011-05-09 at 11:15 +0200, Ernesto Revilla Derksen wrote:
Will we have problems if more than 26 keywords are defined in a folder but only a subset is used? (maildir++)
Only the first 26 keywords (used or not) are kept in the Maildir filenames. The rest still exist in index files though.
participants (2)
-
Ernesto Revilla Derksen
-
Timo Sirainen