Results 1 to 2 of 2

Thread: String Lists supported in Sieve Rules?

  1. #1
    Join Date
    Jul 2008
    Rep Power

    Question String Lists supported in Sieve Rules?

    Does Zimbra support the use of "String Lists"?

    From RFC3028, section
    For instance, the test `header :contains ["To", "Cc"]
    ["", ""]' is true if either the
    To header or Cc header of the input message contains either of the
    e-mail addresses "" or "".

    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";

    THANKS in advance

  2. #2
    Join Date
    Jan 2007
    Rep Power


    Is this just for your own account, or are you migrating from a sieve-supporting system to Zimbra?

    I don't know that we tried string lists like that, but we were able to enter rules impossible to express with the exposed UI, and they worked. However, even if you could get the rules into place with zmmailbox/SOAP, it would break any future use of the GUI. Not a good idea.

    We found that only a small proportion of our cyrus/imp users had created filters, and a large proportion of them were obviously wrong or at least absurdly overbroad. Some "lost" email was "found" as a result.

    It was painful, but we told users to look at their old rules and copy the still applicable rules manually. Few did.

    Btw, if a "fileinto /Junk" rule is actually a good idea, then it probably belongs in /opt/zimbra/conf/spamassassin/, not a per-user sieve file.

Similar Threads

  1. Nested distribution lists
    By Britt in forum Administrators
    Replies: 6
    Last Post: 05-10-2013, 04:01 AM
  2. speed up the net
    By mcesari in forum Administrators
    Replies: 10
    Last Post: 04-25-2008, 11:24 AM
  3. GAL not working with Active Directory
    By ardiederich in forum Installation
    Replies: 13
    Last Post: 02-12-2008, 07:01 PM
  4. Global Sieve Rules?
    By deckard in forum Administrators
    Replies: 0
    Last Post: 01-11-2008, 08:01 AM
  5. Postfix problem
    By jimbo in forum Administrators
    Replies: 46
    Last Post: 07-23-2007, 05:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts