[Dovecot] Message flags
How do I set message flags in sieve rules in such a way that e.g. Thunderbird is displaying the mail as "important"? Is there a list of hwo flags are interpreted by different IMAP clients?
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
On 8/30/2011 9:48 AM, Ralf Hildebrandt wrote:
How do I set message flags in sieve rules in such a way that e.g. Thunderbird is displaying the mail as "important"? Is there a list of hwo flags are interpreted by different IMAP clients?
The wiki: http://wiki2.dovecot.org/Pigeonhole/Sieve/Examples
addflag "$label1"; # ie 'Important'/red label within Thunderbird
# Other flags: # addflag "$label1"; # Important: #ff0000 => red # addflag "$label2"; # Work: #ff9900 => orange # addflag "$label3"; # personal: #009900 => green # addflag "$label4"; # todo: #3333ff => blue # addflag "$label5"; # later: #993399 => violet
-- Lance Cotton
Op 30-8-2011 16:48, Ralf Hildebrandt schreef:
How do I set message flags in sieve rules in such a way that e.g. Thunderbird is displaying the mail as "important"? Is there a list of hwo flags are interpreted by different IMAP clients?
I'm assuming IMAP flags support
(http://tools.ietf.org/html/rfc3501#section-2.3.2) should be similar for
most clients, although their exact use may differ. In Thunderbird, the
\Answered flag is used for replied mail and the \Flagged flag maps to
'starred' e-mail. (Don't forget to duplicate the '\' in Sieve!)
Regarding keywords, there is RFC5788 (http://tools.ietf.org/html/rfc5788), from which at least $Forwarded and $MDNSent are used by Thunderbird.
Other keywords used by Thunderbird are entirely custom:
$label1: Important (red) $label2: Work (orange) $label3: Personal (green) $label4: ToDo (blue) $label5: Later (violet)
Junk: Marked as junk mail NonJunk: Marked as regular mail
There is also an example in the wiki:
http://wiki2.dovecot.org/Pigeonhole/Sieve/Examples#Flagging_or_Highlighting_...
Regards,
Stephan.
Quoting Ralf Hildebrandt Ralf.Hildebrandt@charite.de:
How do I set message flags in sieve rules in such a way that e.g. Thunderbird is displaying the mail as "important"? Is there a list of hwo flags are interpreted by different IMAP clients?
There is no standard/defined "important" IMAP flag/keyword.
Thunderbird is most likely using the X-Priority pseudo-standard header
in the message itself (which makes sense: it is the sender's intention
of the message's importance which should be displayed, not the
receiver's. Objections to this reasoning by some is likely the reason
the header has never been standardized).
michael
See also this thread: http://www.mail-archive.com/dovecot@dovecot.org/msg37734.html and https://bugzilla.mozilla.org/show_bug.cgi?id=650623 I hope this fix in the future.
2011/8/30 Ralf Hildebrandt Ralf.Hildebrandt@charite.de:
How do I set message flags in sieve rules in such a way that e.g. Thunderbird is displaying the mail as "important"? Is there a list of hwo flags are interpreted by different IMAP clients?
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
Quoting Алексей Сундуков public-mail@alekciy.ru:
See also this thread: http://www.mail-archive.com/dovecot@dovecot.org/msg37734.html
This has nothing to do with this issue. As mentioned in that thread,
there is no standard for non-UTF7 characters in keywords. The OP here
just wants to know if a standard flag exists that corresponds to the
Important tag in Thunderbird.
This bug is bogus. Flags/keywords are case insensitive.
michael
participants (5)
-
Lance Cotton
-
Michael M Slusarz
-
Ralf Hildebrandt
-
Stephan Bosch
-
Алексей Сундуков