Folders which automatically mark all messages as read/seen?

Ralph Seichter cyrus-ml at seichter.de
Fri Oct 24 10:08:18 EDT 2008


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 at domain.tld"
  {
      addflag "\\seen";
      fileinto "INBOX.foo";
  }

Thanks for your help, Jeff and Andreas!

-R



More information about the Info-cyrus mailing list