Difference between revisions of "Blocking Character Sets"

From Roaring Penguin
Jump to: navigation, search
(Created page with " <div style="float:right; clear:both; margin-right:0.5em"> [Home]</div> category:Allcategory:Rulescategory:Configuration")
 
Line 1: Line 1:
 +
It is possible to block messages based on character set names.
  
 +
In the web user interface go to Rules->Compound Rules page and enter:
  
 +
  IF Subject Matches Regexp  \p{yyyy} OR
 +
    Body    Matches Regexp  \p{yyyy}
 +
  THEN add x points
 +
 +
where
 +
* x is a suitable value dependent on your objectives, and,
 +
* yyyy is one of:
 +
** CJK_Unified_Ideographs - for Chinese, Japanese or Korean
 +
** Arabic - for Arabic script
 +
**
 +
 +
This only works with CanIt 9.0.6 and above.
 
<div style="float:right; clear:both; margin-right:0.5em">[[Support Wiki | [Home]]]</div>
 
<div style="float:right; clear:both; margin-right:0.5em">[[Support Wiki | [Home]]]</div>
 
[[category:All]][[category:Rules]][[category:Configuration]]
 
[[category:All]][[category:Rules]][[category:Configuration]]

Revision as of 13:27, 10 February 2015

It is possible to block messages based on character set names.

In the web user interface go to Rules->Compound Rules page and enter:

 IF Subject Matches Regexp   \p{yyyy} OR
    Body    Matches Regexp   \p{yyyy}
 THEN add x points

where

  • x is a suitable value dependent on your objectives, and,
  • yyyy is one of:
    • CJK_Unified_Ideographs - for Chinese, Japanese or Korean
    • Arabic - for Arabic script

This only works with CanIt 9.0.6 and above.