Difference between revisions of "Blocking Character Sets"

From Roaring Penguin
Jump to: navigation, search
Line 5: Line 5:
 
   IF Subject Matches Regexp  \p{yyyy} OR
 
   IF Subject Matches Regexp  \p{yyyy} OR
 
     Body    Matches Regexp  \p{yyyy}
 
     Body    Matches Regexp  \p{yyyy}
   THEN add x points
+
   THEN Score xx
  
 
where  
 
where  
* x is a suitable value dependent on your objectives, and,
+
* xx is a suitable value dependent on your objectives, and,
 
* yyyy is one of:
 
* yyyy is one of:
 
** CJK_Unified_Ideographs - for Chinese, Japanese or Korean
 
** CJK_Unified_Ideographs - for Chinese, Japanese or Korean

Revision as of 10:47, 8 September 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 Score xx

where

  • xx 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
    • Cyrillic - for Cyrillic (Russian)
    • Script=Hebrew - for Hebrew script

This only works with CanIt 9.0.6 and above.