Re: Folders which automatically mark all messages as read/seen?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andreas Winkelmann wrote:

> In the examples in draft-melnikov-sieve-imapflags-03.txt flags begin
> with two backslashes.

It seems that I was unlucky in my choice of example scripts -- I found
single backslashes only. Now I use the following script, et voilà, it
works as desired.

  require "fileinto";
  require "imapflags";

  if address :contains ["To", "Cc"] "foo@xxxxxxxxxx"
  {
      addflag "\\seen";
      fileinto "INBOX.foo";
  }

Thanks for your help, Jeff and Andreas!

-R

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux