Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » Blocking emails with specific words
  •  
JohnD

Messages: 12
Karma: 1
Send a private message to this user
I am evaluating Kerio Connect. I would like to have it mark spam and place it in a spam folder (which I can do). I also want to have a list of specific words (porn, curse, etc) that is not marked as spam, but instantly deleted or blocked. I see that I can create custom rules and have done a few, but it seems that I would have to create a rule per word that I want to block. This would instantly make me have to have 50 or more rules. Is there a way to create a custom rule and then list multiple words in the content field and have it delete the email if any one of the words were found? In some software, maybe seperating each word by a comma or semi colon would make a list work like this. I haven't tried those yet, but didn't find anything in the manual about seperating words.
  •  
TorW

Messages: 769
Karma: 9
Send a private message to this user
You can't write advanced rules like this in the admin console, but you can do it with custom SpamAssassin rules. The problem with this is that it's neither documented nor supported by Kerio (or indeed the resellers), so you're pretty much on your own.
  •  
pcunix

Messages: 594
Karma: 33
Send a private message to this user
TorW wrote on Thu, 14 March 2013 04:27
You can't write advanced rules like this in the admin console, but you can do it with custom SpamAssassin rules. The problem with this is that it's neither documented nor supported by Kerio (or indeed the resellers), so you're pretty much on your own.


I'm going to disagree with "or indeed the resellers". Resellers can and do support whatever the heck they want, including things Kerio frowns on quite disparagingly.

I personally have never got into Spamassassin, but if a customer wanted that and understood the downsides, of course I'd help them and support them to the best of my ability.

And actually, I have been recently tempted in that direction because of a customer need that might be best answered by a little muckery down in the SA rules. I don't know that either of us really wants to do it that way, but we are thinking about it.

Tony Lawrence
Kerio Preferred Partner and Reseller
Certified for Connect, Control
http://aplawrence.com
  •  
TorW

Messages: 769
Karma: 9
Send a private message to this user
pcunix wrote on Thu, 14 March 2013 11:13
I'm going to disagree with "or indeed the resellers". Resellers can and do support whatever the heck they want, including things Kerio frowns on quite disparagingly.

Well ... you're not really the garden variety reseller, are you? Smile
  •  
pcunix

Messages: 594
Karma: 33
Send a private message to this user
TorW wrote on Thu, 14 March 2013 17:39
pcunix wrote on Thu, 14 March 2013 11:13
I'm going to disagree with "or indeed the resellers". Resellers can and do support whatever the heck they want, including things Kerio frowns on quite disparagingly.

Well ... you're not really the garden variety reseller, are you? Smile


Actually, I would hope that I am. I've been in this business for thirty years now and anyone who intends to do the same will learn pretty quickly that their customers come first, always. I'm sure there are plenty of other Kerio resellers who knw that as well as I do and put it into practice. If they do not, they won't last long.

Tony Lawrence
Kerio Preferred Partner and Reseller
Certified for Connect, Control
http://aplawrence.com
  •  
MarkK

Messages: 454
Karma: 46
Send a private message to this user
Though Kerio doesn't really support the end user making changes to Spam Assassin, that is up to the end user. SA is a good product when you tweak it. The problem that I see with out-of-the-box SA is that some of the rules are rated too low. Giving an email a .01 hit on a spam score is much like finding a penny on the street when your home is in foreclosure; it isn't really going to do anything of value.

My suggestion is to find out who is getting spam in your company, get their permission to have duplicate copies of their emails delivered to a private folder that you have access to. Then every once in awhile, go through the emails and look at the spam headers to see which rules were hit and what score was given. Then in your SA/rules folder, create a new file called something like MyScores.cf. In this file enter the new scores for the rule hits that you want to up or down the points on. Then copy those new values to the bottom of the local.cf file. Repeat this process every time you want to update a score. You should do this double-copy method because the next time you update Kerio, they will overwrite the local.cf and you will lose any changes that you have made to that file, which also means that after an update you need to copy your custom scores from MyScores.cf to local.cf again.

Also, I do have a fair number of custom rules inside of Kerio's Admin screens that block certain words, much as you describe. Takes a little bit to enter, but once they are there, they stay.
  •  
pcunix

Messages: 594
Karma: 33
Send a private message to this user
MarkK wrote on Thu, 21 March 2013 12:42
Though Kerio doesn't really support the end user making changes to Spam Assassin, that is up to the end user. SA is a good product when you tweak it. The problem that I see with out-of-the-box SA is that some of the rules are rated too low. Giving an email a .01 hit on a spam score is much like finding a penny on the street when your home is in foreclosure; it isn't really going to do anything of value.



I think it would be nice if Kerio Connect eventually supported user changes to at least scoring..

Tony Lawrence
Kerio Preferred Partner and Reseller
Certified for Connect, Control
http://aplawrence.com
Previous Topic: Unwanted Mails
Next Topic: Mail Filters Outbox
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: Sun Oct 22 21:15:32 CEST 2017

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