Results 1 to 2 of 2

Thread: String Lists supported in Sieve Rules?

  1. #1
    jim_widz is offline Starter Member
    Join Date
    Jul 2008
    Posts
    1
    Rep Power
    7

    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

  2. #2
    Rich Graves is offline Outstanding Member
    Join Date
    Jan 2007
    Location
    Minnesota
    Posts
    718
    Rep Power
    9

    Default

    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/local-spam.cf, not a per-user sieve file.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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, 08:01 PM
  4. Global Sieve Rules?
    By deckard in forum Administrators
    Replies: 0
    Last Post: 01-11-2008, 09: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
  •