[Dovecot] pigeonhole sieve imapflags bug

Timo Sirainen tss at iki.fi
Fri Aug 20 22:06:29 EEST 2010


On Fri, 2010-08-20 at 00:58 -0700, Tim Traver wrote:
> if allof (header :contains "Subject" "Account Past Due Notice")
> {
>         fileinto "Billing";
>         setflag "\\Seen";
>         stop;
> }
> 
> Anyways, what happens is the message that matches that rule does indeed
> get moved to the "Billing" folder, but it does not get marked as read.
> 
> BUT! if I change the order of the actions to mark it as read first, then
> move it to the "Billing" folder, it does both of those actions...
> 
> Is that the way it is supposed to work? or is that a bug?

I'm pretty sure this is intentional. So you could do e.g.:

fileinto "Work/queue";
setflag "\\Seen";
fileinto "Work/archive";




More information about the dovecot mailing list