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

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

 



Am Donnerstag 23 Oktober 2008 21:48:44 schrieb Ralph Seichter:

> Jeff wrote:
> > Sieve scripts can mark messages as read, though I'm not an expert on
> > sieve.
>
> Thanks for your suggestion, Jeff. I tried the following:
>
>   require "fileinto";
>   require "imapflags";
>
>   if address :contains ["To", "Cc"] "foo@xxxxxxxxxx"
>   {
>       addflag "\seen";
>       fileinto "INBOX.foo";
>   }
>
> I use Cyrus IMAP Daemon 2.3.12_p2 on Gentoo Linux, and I installed the
> Sieve script using the 'sieveshell' utility. The 'fileinto' is executed,
> but 'addflag' does not seem to have any effect. I tried both SquirrelMail
> and Mozilla Thunderbird as clients, but the messages in folder INBOX.foo
> appear as unread/unseen with both, just as in every other folder.

Did you try:

...
	addflag "\\seen";
...


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

--
Andreas
-- 
--
Andreas
----
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