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

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-04-2011, 01:15 PM
Junior Member
 
Posts: 6
Default ZCS web client mail filters

Greetings everyone,

Just a quick question- are the mail filters that a user creates in the ZCS web client support to run client side or server side?

I have a filter that works when I manually run it but it is not running automatically. Even then, I don't necessarily want to have the client open for the filters to run. So really what I want is a server side filter ability.

Thanks in advance for any help.

KP-
Reply With Quote
  #2 (permalink)  
Old 01-04-2011, 10:49 PM
Zimbra Consultant & Moderator
 
Posts: 20,319
Default

Quote:
Originally Posted by kcperry View Post
Greetings everyone,

Just a quick question- are the mail filters that a user creates in the ZCS web client support to run client side or server side?

I have a filter that works when I manually run it but it is not running automatically. Even then, I don't necessarily want to have the client open for the filters to run. So really what I want is a server side filter ability.
Filters run on the server and they are not dependent on the Web UI being open for them to run.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 01-05-2011, 06:49 PM
Junior Member
 
Posts: 6
Default

Thank you for that confirmation Bill.

What should I check to diagnose, why a user filter is not running?
Reply With Quote
  #4 (permalink)  
Old 01-06-2011, 12:40 AM
Zimbra Consultant & Moderator
 
Posts: 20,319
Default

Quote:
Originally Posted by kcperry View Post
What should I check to diagnose, why a user filter is not running?
The filter is a sieve script, you find the filters under the zimbraMailSieveScript attribute when you use zmprov to display the account.

You should check the filter details and see if there's any other script that is being triggered when an email arrives - you will also need to look at the email (headers and body) to confirm why it's being filtered or not. As you've mentioned that the mail isn't being filtered automatically when it arrives but does work when you run the filter on it's own then I'd suspect there's another filter acting on it before it's intended filter.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 01-07-2011, 08:38 AM
Junior Member
 
Posts: 6
Default

Bill,

There are no other scripts running. Here is the script:

zimbraMailSieveScript: require ["fileinto", "reject", "tag", "flag"];

# CopyOver
if anyof (not header :contains "subject" "[Bulk]") {
keep;
fileinto "Inbox";
stop;
}


To explain why I am doing this. I order to test active sync device with zimbra, I am copying the mail (keeping in my imap inbox and then filing it in the zimbra inbox) from my external imap account to the zimbra imap which then allows me to access via my mobile active sync device.

I'm wondering if the issue is that I'm filing from one "inbox" (my external imap) to another "inbox" (the zimbra inbox). Perhaps its the keep routine?

This seems a bit cumbersome to me anyway but it was the first thing that hit me. Is there is a better way to achive this? Maybe there is a more complete way to specific the zimbra inbox?

KP-
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.