Bogofilter FAQ corrections (Asian spam)

Matthias Andree matthias.andree at gmx.de
Tue Apr 1 13:42:08 CEST 2003


Boris 'pi' Piwinger <3.14 at logic.univie.ac.at> writes:

> David Relson wrote:
>
>>>* 1^0 $ ^Subject:.*=\?($UNREADABLE)
>>>* 1^0 $ ^Content-Type:.*charset=.*($UNREADABLE)
>
> charset= should be followed by "? -- anyhow here is my
> version (more secure) of UNREADABLE:
> UNREADABLE='[^?"]*big5|iso-2022-jp|ISO-2022-KR|euc-kr|gb2312|ks_c_5601-1987|windows-1251|windows-1256'

Note such rejects are best placed into a filter that the MTA is using,
so it can refuse to accept such messages before letting them into the queue.

>
> Note: I have actually found charset of the form '[^?"]*big5'
> when I created that rule which previously had '.*big5'.
>
> Theoretically, that will do it. I had some very similar
> recipe as above which did not work. I don't know why and
> gonna test the above version.
>
> pi
>
>
> ---------------------------------------------------------------------
> FAQ: http://bogofilter.sourceforge.net/bogofilter-faq.html
> To unsubscribe, e-mail: bogofilter-unsubscribe at aotto.com
> For summary digest subscription: bogofilter-digest-subscribe at aotto.com
> For more commands, e-mail: bogofilter-help at aotto.com
>
>

-- 
Matthias Andree




More information about the Bogofilter mailing list