[dev] Ingo: bug or feature?

Jan Schneider jan at horde.org
Tue Mar 4 23:21:28 PST 2003


Quoting Didi Rieder <adrieder at sbox.tugraz.at>:

> Hi,
> 
> when I add am ingo rule, which should mark a message as deleted, the
> script
> looks like this:
> 
> 99: # test
> 100: if header :comparator "i;ascii-casemap" :contains "Subject" "X-Test"
>  {
> 101:     addflag "\\Deleted";
> 102:     keep;
> 103:     removeflag "\\Deleted";
> 104:     stop;
> 105: }
> 
> why is there first an "addflag" and then a "removeflag" statement?

Because the flag setting is persistant for all following messages. 
http://www.globecom.net/ietf/draft/draft-melnikov-sieve-imapflags-00.html

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the dev mailing list