Results 1 to 3 of 3

Thread: [SOLVED] . (dot) symbol in sieve script

  1. #1
    greggy is offline Junior Member
    Join Date
    Feb 2011
    Posts
    5
    Rep Power
    4

    Default [SOLVED] . (dot) symbol in sieve script

    Hi All, I have 7.0.0_GA_3077_CentOS5_64 almost works fine but I have some troubles with sieve scripts:
    if I reciv mail from b.robot@somedomain.org.

    Code:
    require ["fileinto", "reject", "tag", "flag"];
    
    # from_robot
    if anyof (header :is ["from"] "robot") {
        fileinto "robot";
        stop;
    }
    works fine, but:
    Code:
    require ["fileinto", "reject", "tag", "flag"];
    
    # from_robot
    if anyof (header :is ["from"] "b.robot@somedomain.org") {
        fileinto "robot";
        stop;
    }
    doesn't work

    Thanks in advance

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

    Default

    What do you mean by 'doesn't work', what exactly happens? It works for me and it would be rather strange if the filter didn't work with a period '.' in the email address as that's a fairly common format. Look at the show original of the incoming mail and make sure you're checking the correct filed and it does actually contain what you filtering on.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    greggy is offline Junior Member
    Join Date
    Feb 2011
    Posts
    5
    Rep Power
    4

    Default

    OK. I need to change rule from "matches exactly" to "contains". IRC helps.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 658
    Last Post: 04-04-2014, 09:01 AM
  2. Zimbra Backup Script ... Small Problem
    By frankb in forum Administrators
    Replies: 12
    Last Post: 07-14-2008, 08:40 AM
  3. Backup script issues
    By SSS in forum Administrators
    Replies: 18
    Last Post: 12-03-2007, 09:56 AM
  4. Replies: 3
    Last Post: 10-01-2007, 10:54 PM
  5. undefined symbol: SSL_load_error_strings
    By redbaron in forum Installation
    Replies: 4
    Last Post: 07-25-2007, 02:58 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
  •