Results 1 to 2 of 2

Thread: mail filters (fileinto) not working

  1. #1
    jw3193 is offline Active Member
    Join Date
    Feb 2007
    Location
    Monterey, CA
    Posts
    25
    Rep Power
    8

    Default mail filters (fileinto) not working

    I'm having some issues with mail filters on 5.0.11 OSS. I have one user with a handful of filters, and some of them recently stopped working. It appears that those filters that simply tag mails function correctly, but those that file messages into a different folder do not. Here's an example of one of the filters:

    Code:
    # Facebook
    if anyof (header :contains "from" "facebookmail" )
    {
        fileinto "Inbox/Bulk Mail";
        tag "Facebook";
        stop;
    }
    and the headers from a recent test mail that should have been caught:

    Code:
    Return-Path: notification+oceh6fgf@facebookmail.com
    Received: from 10.0.111.1 (LHLO zimbra.arhusgroup.com) (10.0.111.1) by
     zimbra.arhusgroup.com with LMTP; Tue, 6 Jan 2009 14:32:04 -0700 (MST)
    Received: from localhost (localhost.localdomain [127.0.0.1])
    	by zimbra.arhusgroup.com (Postfix) with ESMTP id 1DF967018004
    	for <xxxxx@jasonlowry.com>; Tue,  6 Jan 2009 14:32:04 -0700 (MST)
    X-Virus-Scanned: amavisd-new at zimbra.arhusgroup.com
    X-Spam-Flag: NO
    X-Spam-Score: -5.672
    X-Spam-Level: 
    X-Spam-Status: No, score=-5.672 tagged_above=-10 required=4 tests=[AWL=-0.469,
    	BAYES_00=-2.599, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_MED=-4]
    Received: from zimbra.arhusgroup.com ([127.0.0.1])
    	by localhost (zimbra.arhusgroup.com [127.0.0.1]) (amavisd-new, port 10024)
    	with ESMTP id gYwyJ5RK7qfu; Tue,  6 Jan 2009 14:32:02 -0700 (MST)
    Received: from mx-out.facebook.com (outmail002.ash1.tfbnw.net [69.63.184.102])
    	by zimbra.arhusgroup.com (Postfix) with ESMTP id DB2507018003
    	for <xxxxx@jasonlowry.com>; Tue,  6 Jan 2009 14:32:01 -0700 (MST)
    Received: from www.facebook.com ([10.18.255.178])
    	by mx-out.facebook.com [email023.ash1.facebook.com] (8.13.7/8.13.6) with ESMTP id n06LW0CT023349
    	for <xxxxx@jasonlowry.com>; Tue, 6 Jan 2009 13:32:00 -0800
    X-Facebook: from zuckmail ([98.202.18.113]) 
    	by www.facebook.com with HTTP (ZuckMail);
    Date: Tue, 6 Jan 2009 13:32:00 -0800
    To: xxxxx@jasonlowry.com
    From: Facebook <notification+oceh6fgf@facebookmail.com>
    I setup a test user on the same server, and a simple fileinto filter works just fine. I also turned up logging to debug for zimbra.filter - the weird thing here is that I don't even see the messages for this user. For my test user I see an entry in mailbox.log:

    Code:
    2009-01-06 14:54:47,959 DEBUG [LmtpServer-10] [name=justin@cokecangallery.com;mid=35;] filter - Attempting to file to folder: {n:"Friends", id: 2981, type: 1, name: Friends, unread: 0, folder_id: 2, size: 0, parent_id: 2, color: 0, subject: Friends, date: 1231278723, rev: 13001, , attributes: 0}, remainingPath=null.
    Am I missing something obvious here? Any hints/tips would be appreciated.

    Thanks, Justin.

  2. #2
    hspcd is offline Loyal Member
    Join Date
    Nov 2007
    Location
    HSP NC
    Posts
    77
    Rep Power
    7

    Exclamation

    My filters don't work either. These were created in the Zimbra WebUI. I have several filters (one example below) and none of them work at all. We're running Zimbra 5.0.11_GA.

    }
    # FW Mail
    if anyof (header :is "from" "do-not-reply@blade.company.com" ,
    header :is "from" "do-not-reply@trinity.company.com" ,
    header :is "from" "do-not-reply@jane.company.com" ,
    header :is "from" "do-not-reply@mcnjfw1.company.com" )
    {
    fileinto "Inbox/firewall-alerts";
    stop;
    Last edited by hspcd; 01-07-2009 at 02:53 PM. Reason: Add Zimbra version

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. smtp auth failing 'auth_zimbra: not initialized'
    By kkg039 in forum Administrators
    Replies: 7
    Last Post: 09-05-2013, 11:10 AM
  2. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  3. [SOLVED] mailbox and apache not running
    By rtwick in forum Administrators
    Replies: 4
    Last Post: 11-15-2008, 08:21 AM
  4. server dropped connection
    By ferra in forum Installation
    Replies: 20
    Last Post: 10-06-2008, 04:32 PM
  5. Issues...
    By timothyalangorman in forum Administrators
    Replies: 3
    Last Post: 11-19-2007, 10:43 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
  •