Results 1 to 5 of 5

Thread: zimbra filter problem

  1. #1
    khizernaeem is offline New Member
    Join Date
    Mar 2011
    Posts
    3
    Rep Power
    4

    Default zimbra filter problem

    Hello Everyone,

    I am facing a problem in zimbra filters. I have an account in zimbra that receives email for multiple email addresses. Now I need to create a filter to match an email address (say xyz@dom.com) when it occurs in To/CC.

    Normally one would create a filter like this:

    Code:
    # Test Filter
    if anyof (
     header :contains "to" "xyz@dom.com",
     header :contains "cc" "xyz@dom.com"
      ) {
        some action here;
        }
    The problem comes up when you have another recipient whose email address is some thing like: abc_xyz@dom.com. If you get an email from such address, it would be matched for the above filter. "matches exactly" cannot be used instead of "contains" in the filter because then the filter will not catch the case where the said email address is mentioned with other email addresses in the To or CC field.

    I've looked around the forum and didn't find any one else facing this/similar problem. Any help/hints would be highly appreciated.

    Thanks,
    Khizer

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,493
    Rep Power
    56

    Default

    What's wrong with using the "Matches exactly" option in the filter?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    khizernaeem is offline New Member
    Join Date
    Mar 2011
    Posts
    3
    Rep Power
    4

    Default

    Quote Originally Posted by phoenix View Post
    What's wrong with using the "Matches exactly" option in the filter?
    Thank you for responding. The problem with matches exactly is this:

    Suppose the email is sent to two email addresses xyz@dom.com and blah@dom.com, In this scenario the "matches exactly" condition will not be met. Or suppose if the header contains "XYZ <xyz@dom.com>" instead of just the plain email address, again the "matches exactly" filter will fail.

    "Matches Exactly" condition will only meet when there is only one email address in the To/CC header field, which might not always be the case.

    Thank you,
    Khizer

  4. #4
    vmahajan is offline Zimbra Employee
    Join Date
    Jan 2010
    Posts
    138
    Rep Power
    5

    Default

    This issue is resolved in Zimbra 8. See https://bugzilla.zimbra.com/show_bug.cgi?id=20317.

  5. #5
    khizernaeem is offline New Member
    Join Date
    Mar 2011
    Posts
    3
    Rep Power
    4

    Default

    Thanks vmahajan

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 01-12-2010, 06:36 AM
  2. filter attachment problem
    By ztting0923 in forum Users
    Replies: 9
    Last Post: 10-16-2008, 06:32 PM
  3. Is spam filter having the problem in zimbra 5?
    By zibra in forum Administrators
    Replies: 1
    Last Post: 06-11-2008, 05:21 AM
  4. Mail filter problem GA 4.0.0
    By demanl in forum Administrators
    Replies: 6
    Last Post: 09-07-2006, 04:11 AM

Tags for this Thread

Posting Permissions

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