On Tue, Feb 19, 2002 at 01:53:20PM +0000, Anthony Campbell wrote: | On 19 Feb 2002, Patrick Kirk wrote: | > On Tue, 2002-02-19 at 09:39, Anthony Campbell wrote: | > > Can anyone suggest a procmail filter that will catch at least some of | > > the From: \123\456\789\........... stuff? | > > | > > (I mean what you see for the From: and Subject: lines with | > > ?????????????????) | > > | > Thats where the text is in Chinese or Korean or some such character | > set. Just set procmail to block that character set and you'll never see | > them again. Unless of course you do speak Korean in which case its back | > to the drawing board ;-) | > | | I know that's what it is but my question is: how do I block it?
For a partial solution : :0: * ^Content-Type:.*charset=(big5|ks_c_5601-1987) junkfile Though some messages don't mention a charset, and there are surely others that SA's CHARSET_FARAWAY test would catch for you. The other check SA does to catch this sort of junk is to look for characters with the high-order bit set. No non-english language can represent its entire alphabet using the US-ASCII charset. -D -- The teaching of the wise is a fountain of life, turning a man from the snares of death. Proverbs 13:14