Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Mail filters not working all of the time..

  1. #11
    bburtin is offline Zimbra Employee
    Join Date
    Sep 2005
    Posts
    78
    Rep Power
    9

    Default

    Looks like you've hit a bug in the filter UI. If you can come up with a reproducible way to create a filter rule that puts "stop" before fileinto, please file a bug.

  2. #12
    htin is offline Intermediate Member
    Join Date
    Feb 2007
    Location
    Vancouver, BC, Canada
    Posts
    16
    Rep Power
    8

    Default matches pattern

    Does anyone has success story of creating 'matches pattern' filter?
    None of mine still doesn't work. I can only use with 'contains'
    Anyone has any idea?

    Thanks!
    [Working together for better community]

  3. #13
    Stergil is offline Senior Member
    Join Date
    May 2007
    Posts
    71
    Rep Power
    7

    Default

    I am also having inconsistent results with one mail filter and no success with 2 others.

    Code:
    # Stergil
    if anyof (header :contains "to" "stergil" )
    {
        fileinto "/Inbox/Stergil";
        stop;
    }
    This filter does not work, the message remains in my Inbox. I've tried variations, using 'matches pattern' with asterisks, etc. I'm basically trying to get anything that comes in to my gmail account filed accordingly.

    I have another gmail account that I'm trying to filter inbound messages from as well with the same results.

    The one that does work (most of the time) filters for automated bank messages. I have a few dozen of the messages in a folder, and a stray always pops up in the Inbox after a week or two. It's the same automated message that's sent daily. Nothing changes but the body, and the filter only evaluates the subject & from fields.

    It should be noted that the two filters that do not work at all are receiving messages from POP accounts from within Zimbra. The bank notices, which are properly filtered most of the time, are received through my normal Zimbra mail address/server.

  4. #14
    bburtin is offline Zimbra Employee
    Join Date
    Sep 2005
    Posts
    78
    Rep Power
    9

    Default

    The way things currently stand, mail filtering only occurs when a message comes in over LMTP. So if you're retrieving mail from an external POP account, mail filters won't run. The way things are now, data sources (POP, IMAP, etc.) all have a root folder that mail gets delivered to. We use that folder to check for new messages in the leave-on-server case. We could potentially use mail filtering in the case where you don't leave messages on the server. Not sure if this would cause more benefit or confusion. If you think we should support mail filtering for POP accounts, please file an enhancement request in Bugzilla.

    As far as filters that use matching instead of contains, you'll need to use wildcards. Here's a blurb from the Sieve spec that describes the behavior.

    Code:
       The ":matches" version specifies a wildcard match using the
       characters "*" and "?".  "*" matches zero or more characters, and "?"
       matches a single character.  "?" and "*" may be escaped as "\\?" and
       "\\*" in strings to match against themselves.  The first backslash
       escapes the second backslash; together, they escape the "*".  This is
       awkward, but it is commonplace in several programming languages that
       use globs and regular expressions.
    Several people have been confused by the "matches pattern" terminology. I filed bug 19737 for this issue.

  5. #15
    Stergil is offline Senior Member
    Join Date
    May 2007
    Posts
    71
    Rep Power
    7

    Default

    Alright, thanks for the reply.

  6. #16
    Stergil is offline Senior Member
    Join Date
    May 2007
    Posts
    71
    Rep Power
    7

    Default

    Quote Originally Posted by bburtin View Post
    The way things currently stand, mail filtering only occurs when a message comes in over LMTP. So if you're retrieving mail from an external POP account, mail filters won't run. The way things are now, data sources (POP, IMAP, etc.) all have a root folder that mail gets delivered to. We use that folder to check for new messages in the leave-on-server case.
    BTW, I should mention that the reason I'm not using that feature is because I then need to manually go to each folder and click Get POP Mail. Your POP client doesn't seem to automatically check/download messages at any interval, nor does it check POP accounts when clicking the main Get Mail button.

    It would be a welcome change if POP mail accounts had an interval setting to automatically check for new mail.

    Cheers,
    Sterg

  7. #17
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

    Default

    Quote Originally Posted by Stergil View Post
    BTW, I should mention that the reason I'm not using that feature is because I then need to manually go to each folder and click Get POP Mail. Your POP client doesn't seem to automatically check/download messages at any interval, nor does it check POP accounts when clicking the main Get Mail button.

    It would be a welcome change if POP mail accounts had an interval setting to automatically check for new mail.
    Quote Originally Posted by mmorse View Post
    If you can hold out till v5/in 5.0beta3:
    zimbraDataSourcePollingInterval
    Bug 14527 - Periodic POP and IMAP aggregation and frequency and limit controls for same
    For the current method search 'fetchmail' in the forums.

  8. #18
    Stergil is offline Senior Member
    Join Date
    May 2007
    Posts
    71
    Rep Power
    7

    Default

    awesome news, thanks

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Problems with port 25
    By yogiman in forum Installation
    Replies: 57
    Last Post: 06-13-2011, 01:55 PM
  2. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  3. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 08:09 AM
  4. DynDNS and Zimbra
    By afterwego in forum Installation
    Replies: 30
    Last Post: 04-01-2007, 03:34 PM
  5. receiveing mail
    By maybethistime in forum Administrators
    Replies: 15
    Last Post: 12-09-2005, 04:55 PM

Posting Permissions

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