[Dovecot] forward flag metadata
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.
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?
--
Regards, Tim Schafer Information Technology Logistics Easier with Technology
Freight Solution Providers direct 916-376-6190 10453 Old Placerville Road fax 916-376-6156 Sacramento, CA 95827 tim_schafer@shipfsp.com
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.
On August 24, 2006 5:49:34 AM +0300 Timo Sirainen tss@iki.fi wrote:
On Wed, 2006-08-23 at 19:27 -0700, Tim Schafer wrote:
Is it a bug that dovecot doesn't hand out the "forwarded" metadata?
Seems to work with me:
me too, 1.8beta8. What version are you using?
-frank
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.
participants (3)
-
Frank Cusack
-
Tim Schafer
-
Timo Sirainen