[Dovecot] Customflags problem?

Rick Johnson rjohnson at medata.com
Sun Jan 25 00:08:00 EET 2004


I'm new here, but I'll just jump right in.

I've been using Dovecot with Fedora for a bit with the default mbox 
format. I recently transitioned to the Maildir format since some users 
were getting mailboxes in excess of 1GB in size, which made expunging 
and flagging no easy task.

Anyway, it appears now with Maildir, that customflags are "added" 
instead of "replaced". I.E. in Thunderbird or Mozilla, if I set a 
message label of 5 (Later), and then change it to 3 (Personal), all's 
fine. However, if I switch it back to Later, or attempt to remove it, 
the flags are not removed. When I examine the flags on the filename, I 
see something like :2,FSag. If I attempt to change to additional labels 
and/or flag the message, I'll end up with aefg on the same message. 
Unfortunately only the first flag is accepted, and Moz/Tbird keeps label 
5 as "a" was "read" delivered first. If I mark label as none, the flags 
remain, meaning I have to manually rename the file to remove the flags. 
This wasn't a problem using the mbox format, since the flags were stored 
in the file itself.

Is this something broken in how the reader is requesting or is it a 
fault in the dæmon itself not removing old customflags before adding 
new? I suspect something inside src/lib-index/maildir/maildir-index.c

Also of note, Evolution can seem to remove them, but only does so upon exit.

I've reproduced it in 0.99.10-6 (fedora core 1) and 0.99.10.4-1 (fedora 
devel) versions. I filed a Bugzilla report at bugzilla.redhat.com under 
114230 (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=114230).

-Rick
-- 
Rick Johnson, RHCE #807302311706007 - rjohnson at medata.com
Linux/Network Administrator - Medata, Inc. (from home)
PGP Public Key: https://mail.medata.com/pgp/rjohnson.asc



More information about the dovecot mailing list