On Sat, 30 Apr 2016 11:44:03 +0800 yblin wrote: Please stop replying off-list.
> > There is an example.I've used a UTF-8 encoding mail to debug > SpamAssassin to test a rule called CN_BODY_1 in local.cf as the > picture shows. > > > The picture below shows the debuggin result when /normal_charset/ > disabled: Images aren't very useful. We need to find a reproducible problem. It's very easy to find example of CJK rules that do work with "normalize_charset 1" on UTF-8 text, the following example came from text from a random spam. $ grep normalize .spamassassin/user_prefs normalize_charset 1 $ grep T_CJK_TEST1 /usr/local/etc/mail/spamassassin/local-rules.cf body T_CJK_TEST1 /如以上連接無法打開/ $ printf "\n如以上連接無法打開" | spamassassin | grep "T_CJK_TEST1" T_CJK_TEST1 version=3.4.1 * 0.0 T_CJK_TEST1 BODY: No description available.