Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » Scan body for key words?
  •  
opaque

Messages: 53
Karma: 0
Send a private message to this user
Hi,

I was wondering if it's possible to scan the body for specific text?

Recently we have had influxes of spam that have the subject "Re: (some random characters) news".

But the body is essentially the same with "Home owner" and "mortgage". Kerio isn't picking up the spam at all.

Also, can I scan for the number of times SPAN is used?

P C N X .com - your pc annex :: computing news at your fingertips
  •  
aszurom

Messages: 10

Karma: 0
Send a private message to this user
What I've ended up doing is editing the local.cf rule set in the spamassassin directory.

Here's a chunk of my mile-long local.cf

header CUSTOM_pharmsubject Subject =~ /\bpharm/i
score CUSTOM_pharmsubject 7.0
describe CUSTOM_pharmsubject pharm

body CUSTOM_giftcard /\bgift.?card/i
score CUSTOM_giftcard 7.0
describe CUSTOM_giftcard giftcard

header CUSTOM_giftcardsubject Subject =~ /gift.?card/i
score CUSTOM_giftcardsubject 7.0
describe CUSTOM_giftcardsubject giftcard

header CUSTOM_pepsi Subject =~ /pepsi/i
score CUSTOM_pepsi 7.0
describe CUSTOM_pepsi pepsi

header CUSTOM_DeliveryNotificationsubject Subject =~ /delivery notification/i
score CUSTOM_DeliveryNotificationsubject -5.0
describe CUSTOM_DeliveryNotificationsubject "delivery notification" needs relaxed some.

header CUSTOM_watchessubject Subject =~ /\bwatches/i
score CUSTOM_watchessubject 4.0
describe CUSTOM_watchessubject watches
  •  
Kerio_jthomas

Messages: 511
Karma: 1
Send a private message to this user
I hope no one sends you a gift card by email. =)

Joshua Thomas
Technical Support Manager
2350 Mission College Blvd, Suite 400
Santa Clara, CA 95054
Phone: (408) 496-4500
Fax: (408) 496-6902
http://www.kerio.com/support.html

Previous Topic: Queue Error
Next Topic: KOC not sending message properly
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: Mon Nov 20 07:05:19 CET 2017

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