This header was missed by your rule example. Does anyone have any ideas why it was missed?
Thanks in advance: Header --=_alternative 00390FDE48256FE2_= Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: base64 Rule: rawbody CHINESE_WL_1_B /\bgb2312\b/i describe CHINESE_WL_1_B Whiltelist Simplified Chinese mimepart full CHINESE_WL_1_C /^Content-Type:\s+gb2312\b/im describe CHINESE_WL_1_C Whiltelist Simplified Chinese mimepart >-----Original Message----- >From: Loren Wilton [mailto:[EMAIL PROTECTED] >Sent: Tuesday, April 12, 2005 5:45 PM >To: users@spamassassin.apache.org >Subject: Re: Rules to identify simplified and traditional chinese character >sets > >> This code fragment illustrates how I do this for Internet headers: >> >> header CHINESE_WL_1 Content-Type =~ /gb2312/i >> describe CHINESE_WL_1 White list Simplified Chinese >> >> Does anyone no how to create a rule to detect these codes in a mime >> header? > >There was talk on the dev list a while back of being able to test the items >in MIME headers. I'm not clear on whether anything ever came of that. > >In any case you can run a 'full' to look for the headers and find them. >Perhaps something like (untested): > >full CHINESE_xxx /^Content-Type:\s+gb2312\b/im > > Loren