Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » Mail Filter Inconsistency (Sometimes it works, sometimes it doesn't)
  •  
BobH

Messages: 123
Karma: 0
Send a private message to this user
I am having a problem with setting up a mail filter. Here is the rule description.

Quote:
Where the subject contains 'OT'
then
Move it to folder E-Mail Folders/BobStuff


However, it only works for some situations. Here are some examples of subjects where it worked...

Quote:
Re: Enough Please (WAS: RE: What's Your Phone?) [OT]
RE: OT but had too
Join us for lots of special events at AnDevCon!


and some that didn't...

Quote:
Re: Enough Please (WAS: RE: What's Your Phone?) [OT]
RE: OT but had too
Re: OT - RE: What's Your Phone?


I'm stumped. The logic seems pretty clear and simple so I have to believe that there's a bug of some kind.

Anyone else experience this?

TIA
  •  
freakinvibe

Messages: 1529
Karma: 60
Send a private message to this user
You are listing the same subjects in your "working" list and in your "not working" list:

Re: Enough Please (WAS: RE: What's Your Phone?) [OT]
RE: OT but had too

So are you saying the same subject is sometimes working and sometimes not?

When you are in the "Mail Filter" Windows, highlight the rule in question and click "Edit Script". Post the script here, so I can have a look.

Dexion AG - The Blackberry Specialists in Switzerland
https://dexionag.ch
  •  
Pavel Dobry (Kerio)

Messages: 5245
Karma: 251
Send a private message to this user
Use an option "Skip processing other rules". Another rule may override this one.
  •  
BobH

Messages: 123
Karma: 0
Send a private message to this user
Here is the rule from "Edit Script"...

Quote:
if header :contains "Subject" "OT"
{
fileinto "~bhartung<_at_>wiscoind.com/E-Mail Folders/BobStuff";
}


There is one script located after the above rule. They are meant to work together.

Quote:
if address :all :contains "To" "ntsysadmin"
{
fileinto "E-Mail Folders/2-Sunbelt";
}



The first rule is meant to move e-mail with "OT" in the subject to one folder. Then anything that isn't caught by the first rule and containing "ntsysadmin" in the "To:" field would be moved to another folder.

I see the difference in the "fileinto" statements. I don't understand why they have different syntax. They are both at the same folder level, 2 below the root.
  •  
BobH

Messages: 123
Karma: 0
Send a private message to this user
Here is the display of the 2nd rule as originally created...

Quote:
Where the To address contains 'ntsysadmin'
then
Move it to folder E-Mail Folders/2-Sunbelt
  •  
BobH

Messages: 123
Karma: 0
Send a private message to this user
OK. I think I understand my problem now. The suggestion to use the "Skip processing of other rules" got me experimenting with it.

The rules worked properly on e-mails that had either the "ntsysadmin" or the "OT" in them but not both. When both were present in the e-mail, both rules would be executed, placing a copy of the e-mail in both folders. Makes sense now.

Thanks.

  •  
marook

Messages: 520

Karma: 3
Send a private message to this user
When you STORE a message, make sure always to DISCARD the message - otherwise you will leave a copy behind in the inbox.

And as you noticed, the 'Skip processing...' only kicks in if the criteria is meet!

Regards,

Jakob Peterhänsel
Consultant - Humac A/S

Apple Certified Support Professional (ACSP)
Apple Certified Technical Coordinator (ACTC)
AppleSeed/CQF member since 1998
Kerio Messaging Partner
Previous Topic: Kerio Connect 7.1.3 domain quota Limit and calendar sharing
Next Topic: Auto config tools do not work - Entourage 2008 or Address book
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Fri Sep 22 22:41:50 CEST 2017

Total time taken to generate the page: 0.00642 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.