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.