Results 1 to 2 of 2

Thread: mail filters (fileinto) not working

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

    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:

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

    Received: from (LHLO ( by with LMTP; Tue, 6 Jan 2009 14:32:04 -0700 (MST)
    Received: from localhost (localhost.localdomain [])
    	by (Postfix) with ESMTP id 1DF967018004
    	for <>; Tue,  6 Jan 2009 14:32:04 -0700 (MST)
    X-Virus-Scanned: amavisd-new at
    X-Spam-Flag: NO
    X-Spam-Score: -5.672
    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 ([])
    	by localhost ( []) (amavisd-new, port 10024)
    	with ESMTP id gYwyJ5RK7qfu; Tue,  6 Jan 2009 14:32:02 -0700 (MST)
    Received: from ( [])
    	by (Postfix) with ESMTP id DB2507018003
    	for <>; Tue,  6 Jan 2009 14:32:01 -0700 (MST)
    Received: from ([])
    	by [] (8.13.7/8.13.6) with ESMTP id n06LW0CT023349
    	for <>; Tue, 6 Jan 2009 13:32:00 -0800
    X-Facebook: from zuckmail ([]) 
    	by with HTTP (ZuckMail);
    Date: Tue, 6 Jan 2009 13:32:00 -0800
    From: Facebook <>
    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:

    2009-01-06 14:54:47,959 DEBUG [LmtpServer-10] [;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
    HSP NC
    Rep Power


    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" "" ,
    header :is "from" "" ,
    header :is "from" "" ,
    header :is "from" "" )
    fileinto "Inbox/firewall-alerts";
    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