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 07-08-2011, 03:39 PM
Junior Member
 
Posts: 5
Default Need help creating email filter with line break in it

Would anyone have any idea how to create an email filter that include a line break?

example: test
example: test2

I need to create a filter that keeps "test" but ignores "test2" and the only way I can think of is to have the filter look for "test" with a line break after it.
There will in fact be up to test46. If anyone knows how to filter it, or have an alternate idea, please let me know. thanks!
Reply With Quote
  #2 (permalink)  
Old 07-11-2011, 11:35 PM
Special Member
 
Posts: 167
Default

It appears you are attempting to filter the exact subject "Test" rather than "Test2".

When creating the inbound filter, have you attempted to create it similar to:

If "Any" / Subject / Matches Exactly / Test

Make sure to select do not process any other filters..Does this work?

Testing was done, using the web client, created the above filter and sent two test messages. One with Test as the subject, the other test2. the test subject was redirected to the designated folder i specified.

Keep me posted.
__________________
Hosted Zimbra Service and ActiveSync with
www.SaasHost.net
Reply With Quote
  #3 (permalink)  
Old 07-18-2011, 04:04 PM
Junior Member
 
Posts: 5
Default

That helps partially for some of the filtering. Unfortunately part of the filter has the field in the body, not the subject line.

So I can filter by subject line which narrows my field but then I need tp filter by body:

test
test1
test2
test3
test4...
test 48

test needs kept, test1 thru test 48 needs to get filtered.
Reply With Quote
  #4 (permalink)  
Old 07-21-2011, 06:33 AM
Special Member
 
Posts: 167
Default

Ok,

After some testing i do not see why your filter for the body will not work.

Here is the filter(s) I used to get it to work:

If "Any" / Body / Contains / Test 4
Move to folder * Test 1

If "Any" / Body / Contains / Test 48
Move to folder* test 2

After about 10 test messages with random words in the body, most of them were redirected to the proper folders.

Note: I did notice one incident where a message containing the test 48 and test 4 was directed to the first filter so keep that in mind.

Hope this helps.
__________________
Hosted Zimbra Service and ActiveSync with
www.SaasHost.net
Reply With Quote
  #5 (permalink)  
Old 07-21-2011, 08:28 AM
Junior Member
 
Posts: 5
Default

Hey spiderTech, thanks so much. However, I failed to properly communicate. I want to ignore test2 thru test48 and only filter "test"

I do realize I could say /Contains/ test
/ Does not contain test 2/
/Does not contain test3/

and so on but having to exclude 47 entries would be a very time consuming method to write the filter.


Thanks again though, I really appreciate the assistance.
Reply With Quote
  #6 (permalink)  
Old 07-23-2011, 06:28 AM
Special Member
 
Posts: 167
Default

Unfortunately, creating the filter, for your needs, is going to be a manual process.

Glad I could help.
__________________
Hosted Zimbra Service and ActiveSync with
www.SaasHost.net
Reply With Quote
  #7 (permalink)  
Old 07-25-2011, 08:58 AM
Junior Member
 
Posts: 5
Default

Is it possible to export the filter to someone else? That way I can create it and then copy the filter over to someone else who also needs it?
Reply With Quote
  #8 (permalink)  
Old 07-29-2011, 10:31 AM
Special Member
 
Posts: 167
Default

Unfortunately not. The export function only allows exporting of Account data, mail, contacts, calendar, tasks, address book and briefcase.
__________________
Hosted Zimbra Service and ActiveSync with
www.SaasHost.net
Reply With Quote
  #9 (permalink)  
Old 07-29-2011, 10:34 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

You can get the filter by running zmprov for the particular account, IIRC, there's a script in the forums to export the filter and allow you to import it into another account.
__________________
Regards


Bill
Reply With Quote
  #10 (permalink)  
Old 08-01-2011, 01:23 AM
Special Member
 
Posts: 167
Default

Thank you for this information. Can you link the forum the script is in? I have performed a search and have not located it.

Thank You.
__________________
Hosted Zimbra Service and ActiveSync with
www.SaasHost.net
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.