[Dovecot] forward flag metadata

Tim Schafer
Thu, 24 Aug 2006 18:42:31 -0000

I'm running dovecot-1.0_rc7
The dovecot-keywords file contains:
0 $Forwarded

My client is Thunderbird version 1.5.0.5 (20060719)


Further testing shows that forwarding from one instance of TB will set the flag.
But another instance does not pick it up.
Closing and reopening the second instance still does not pick up the flag.
Removing the account, and recreating it in the second instance, will cause the
headers to be downloaded again; this picks up the flag.

Also, moving the message to another folder causes the forward flag to be
noticed.

This problem can also be seen when courier-imap is the server.
So it's a Thunderbird bug, I'll push it up to them.


Regards,
Tim Schafer


Timo Sirainen said the following on 8/23/2006 7:49 PM:
> On Wed, 2006-08-23 at 19:27 -0700, Tim Schafer wrote:
>> In testing the migration from courier-imap to dovecot I've
discovered
>> that the forward flag on messages isn't kept track of in a standard
way.
>>
>> courier-imap seems to keep track of forwarded messages in
courierimapkeywords/:list
>> dovecot seems to add an 'a' flag to the filename.
>
> The 'a' is mapped to the keyword in dovecot-keywords file (0 = a, 1
= b
> etc.). Does that file exist and does it contain "0 forwarded"?
>
>> Unfortunately this 'a' flag information doesn't seem to be
given out by dovecot.
>> It's like it's write only.
>>
>> Is it a bug that dovecot doesn't hand out the "forwarded"
metadata?
>
> Seems to work with me:
>
> x store 1 +flags forwarded
> * 1 FETCH (FLAGS (forwarded))
> x OK Store completed.
> x fetch 1 flags
> * 1 FETCH (FLAGS (forwarded))
> x OK Fetch completed.
>