You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Wolfgang Zeikat <wo...@desy.de> on 2010/03/19 12:56:29 UTC

Cyrillic text isn't matched when quoted-printable (?!)

I have written some body rules to catch cyrillic text, using a utf-8 
aware editor. They work fine in mails with

Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

They do not catch the same strings in mails like
http://pastebin.com/bNGHxbxb
with
Content-Type: text/plain; charset=windows-1251
Content-Transfer-Encoding: quoted-printable

How can I catch any of the cyrillic characters in that mail?

Regards,

wolfgang



Re: Cyrillic text isn't matched when quoted-printable (?!)

Posted by Wolfgang Zeikat <wo...@desy.de>.
John Hardin wrote:
> On Fri, 19 Mar 2010, Wolfgang Zeikat wrote:
> 
>> I have written some body rules to catch cyrillic text, using a utf-8 
>> aware editor. They work fine in mails with
>> Content-Type: text/html; charset=UTF-8
>>
>> They do not catch the same strings in mails like
>> Content-Type: text/plain; charset=windows-1251
> 
> Save another version of your rules encoded in windows-1251?
> 
Frankly, I have no idea how to do that.



Re: Cyrillic text isn't matched when quoted-printable (?!)

Posted by Benny Pedersen <me...@junc.org>.
On fre 19 mar 2010 14:16:50 CET, John Hardin wrote
> Save another version of your rules encoded in windows-1251?

spamassassin -D generic -t msg

it converts here, but to what ?

> -- 
xpoint http://www.unicom.com/pw/reply-to-harmful.html


Re: Cyrillic text isn't matched when quoted-printable (?!)

Posted by John Hardin <jh...@impsec.org>.
On Fri, 19 Mar 2010, Wolfgang Zeikat wrote:

> I have written some body rules to catch cyrillic text, using a utf-8 aware 
> editor. They work fine in mails with
> Content-Type: text/html; charset=UTF-8
>
> They do not catch the same strings in mails like
> Content-Type: text/plain; charset=windows-1251

Save another version of your rules encoded in windows-1251?

-- 
  John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
  jhardin@impsec.org    FALaholic #11174     pgpk -a jhardin@impsec.org
  key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
   It is not the business of government to make men virtuous or
   religious, or to preserve the fool from the consequences of his own
   folly.                                              -- Henry George
-----------------------------------------------------------------------
  161 days since President Obama won the Nobel "Not George W. Bush" prize