[Dovecot] Pigeonhole Sieve SetFlag question

e-frog e-frog at gmx.de
Fri Jul 6 18:10:40 EEST 2012


On 06.07.2012 16:46, wrote Vyacheslav Biruk:
> Hello,
>
> I use
> FreeBSD 8.2-RELEASE-p7 i386
> dovecot-2.1.6
> dovecot-pigeonhole-0.3.0_1
>
> I have the following problem:


> But when I use following script - the flag is not set in \Seen
>
> require ["fileinto","imap4flags"];
>
> # rule:[test]
> if anyof (header :contains "Subject" "test")
> {
>          fileinto "INBOX.SPAM";
>          setflag "\\Seen";
>          stop;
> }

This works for me...

if anyof (header :contains "Subject" "test")
{
         addflag "\\Seen";
	fileinto "INBOX.SPAM";
         stop;
}







More information about the dovecot mailing list