Blocking Character Sets

From Roaring Penguin
Revision as of 11:54, 2 February 2017 by MCoyne (talk | contribs)

Jump to: navigation, search

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

In the web user interface go to Rules->Custom Rules (Compound Rules prior to version 10.1.0) page and enter:

 IF Subject Matches Regexp   \p{yyyy} OR
    Body    Matches Regexp   \p{yyyy}
 THEN Score xx


  • 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.