[Dovecot] Pigeonhole Sieve IMAP flag question

Tobias Lang tobias.lang at evoscout.de
Tue Dec 29 21:17:51 EET 2009


Am 29.12.2009 um 12:58 schrieb Julian Cowley:

> Hello,
> 
> Here is a small script that I've been running to test a problem I've been seeing.  Shouldn't this result in the mail being delivered to the inbox as a new message (ie. without the \Seen flag)?
> 
>   require "imap4flags";
> 
>   addflag "\\Seen";
>   removeflag "\\Seen";
> 
> Every message gets delivered to the inbox as though it's already been read.


Hello Julian,

by removing the "Seen" flag, you mark the message as read. New mails arrives with the
"Seen" flag set - thus your command <<addflag "\\Seen">> is useless. Check out RFC 3501
for the meaning of the different flags.

Tobi


More information about the dovecot mailing list