[Dovecot] Pigeonhole Sieve IMAP flag question
Stephan Bosch
stephan at rename-it.nl
Wed Dec 30 05:48:51 EET 2009
Julian Cowley wrote:
> 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.
>
> Using Dovecot 1.2.9 and Pigeonhole Sieve 0.1.14.
You have found a bug. Fixed (including cosmetic changes):
http://hg.rename-it.nl/dovecot-1.2-sieve/rev/9e18561e357f
I've added various tests to the test suite to prevent this from
reoccurring in the future. Apparently, the situation where only one flag
was set and subsequently removed was not tested.
Regards,
--
Stephan Bosch
stephan at rename-it.nl
More information about the dovecot
mailing list