Bogofilter FAQ corrections (Asian spam)

David Relson relson at osagesoftware.com
Tue Apr 1 14:40:18 CEST 2003


At 03:27 AM 4/1/03, Boris 'pi' Piwinger wrote:

>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: 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,

Our problem with macros was that we needed the "$" to tell procmail to do 
macro expansion.  Andrey Chernov figured that out about 2300 GMT.

David






More information about the Bogofilter mailing list