Flags in public folders disappear when more than 25 flags are used

Thomas Herrmann THerrmann at ADwin.de
Mon Jul 14 13:14:06 UTC 2014


On 07/10/2014 05:37 PM, Timo Sirainen wrote:
>> Maybe this happens because I am using 2.2.* with INDEX instead of
>> INDEXPVT,
> 
> Right.

Confirmed; I set up a testbed (2.2.13), and I have observed this:

- when using public folders with per-user seen flags (using INDEX), only
the first 25 keywords are shared, the other keywords are per-user.

- the problem disappears when using INDEXPVT instead of INDEX

>> so now my question is, how do I upgrade from INDEX to INDEXPVT
>> without losing information? Will dovecot convert the old files
>> automatically? I did not find anything about that at
> 
> I think it would work if you simply change INDEX -> INDEXPVT, but test first with some test users.

Switching from INDEX to INDEXPVT keeps the first 25 keywords, and dumps
the others (which is ok since they were not in sync anyways).

However, switching to INDEXPVT also lost the SEEN status for _some_
users. Any idea how to prevent that?

Will corrupted dovecot.index/log/cache files in the future automatically
lead to a partial loss of keywords? I have been using and upgrading
dovecot for quite a while now, and deleting cache files was often my
first step when unexpected behaviour or strange log entries occurred...

Regards,
Thomas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4246 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20140714/387f9b11/attachment.p7s>


More information about the dovecot mailing list