Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-07-2009, 09:06 AM
Active Member
 
Posts: 25
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.
Reply With Quote
  #2 (permalink)  
Old 01-07-2009, 01:52 PM
Loyal Member
 
Posts: 77
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 01:53 PM.. Reason: Add Zimbra version
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.