Sieve issue marking messages "Read"

Ken Murchison ken at
Mon Nov 3 20:01:32 EST 2003

Quanah Gibson-Mount wrote:

> Hello,
> The mail server I use here at Stanford was recently upgraded to include 
> timsieved.  It is running without any local modifications.  I'm now 
> doing testing of its functionality, and I've noticed that for a few of 
> my mailboxes, the messages are marked "read" after being stored into 
> their folder.  Is this a known issue?  Is there something I need to do 
> to prevent this from happening?

The fileinto does not alter the messages flags at all.  You *can* do 
this with the imapflags extension, but by default a fileinto essentially 
behaves as if the message was delivered directly.  This is probably 
another client that is changing the flags.

> My rules all take the form of:
> if anyof (address :contains "To" "directory-team at lists", address 
> :contains "CC" "directory-team at lists") {
>     fileinto "";
>     discard;

This discard is completely unnecessary.  The fileinto cancels the 
implicit keep.  The discard is doing nothing.

>     stop;
> }
> Where To/CC/From are what I filter on, then file into the appropriate 
> folder, discard the message, and stop any further evaluation.

Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--

More information about the Info-cyrus mailing list