Sieve script help

Amos Gouaux +archive.info-cyrus at utdallas.edu
Fri May 16 15:21:13 EDT 2003


>>>>> On Fri, 16 May 2003 13:40:12 -0400 (EDT),
>>>>> Steve Huston <huston at astro.Princeton.EDU> (sh) writes:

sh> One user in particular would like to toss all messages with a score of 3 or
sh> higher into his spam folder.  Now, this could be done with a series of Sieve

This works for me:

if header :contains "X-Spam-Level" "******" {
  fileinto "JunkMail";
  stop;
}

One frustration with these web Sieve things is that they don't
actually know anything about the language, so try to fit things as
best as practical, and that may not be precisely what you need.....

Lately I've been wishing that some sort of '#include' directive,
relative to even just the user's Sieve directory, was supported.
That way these specific tasks could be created separately, then
just included into the user's active script as necessary....

-- 
Amos





More information about the Info-cyrus mailing list