On Aug 21, 2010, at 10:01 AM, Piyush Joshi wrote:
Dear All, I am using dovecot-2.0.0 version and all my sieve filters are working perfectly except the following one.
I am trying to flag message coming from jagdish@example.net mail id.
require
["fileinto ","envelope ","reject","vacation","imap4flags","relational","comparator-i;ascii- numeric","regex","body","date"];if address :contains "From" "jagdish@example.net" { keep :flags ["Flagged"] ; }
Is it possible to make it work without using addflag to add a flag ?
From a recent thread (pigeonhole sieve imapflags bug):
if allof (header :contains "Subject" "Account Past Due Notice") { fileinto "Billing"; setflag "\\Seen"; stop; }
Reading http://www.faqs.org/rfcs/rfc5232.html maybe:
if address :contains "From" "jagdish@example.net" { keep :flags "\\Flagged" ; }
// Brad