View Single Post
  #1 (permalink)  
Old 05-29-2009, 02:50 AM
jim_widz jim_widz is offline
Starter Member
 
Posts: 1
Question String Lists supported in Sieve Rules?

Does Zimbra support the use of "String Lists"?

From RFC3028, section 2.4.2.1:
For instance, the test `header :contains ["To", "Cc"]
["me@example.com", "me00@landru.example.edu"]' is true if either the
To header or Cc header of the input message contains either of the
e-mail addresses "me@example.com" or "me00@landru.example.edu".


I have not been able to figure out how to use SaveRulesRequest and store data which would produce the following script:


if allof ( header :contains ["From","Subject"]
[ "ADV:", "adult dvd", "adult movie", "adultdirect", "adultemail" ] )
{
fileinto "/Junk";
stop;
}


THANKS in advance
Reply With Quote