Re: procmail filter to catch ????????????????????
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?
Actually I made a mistake in posting the filter I've tried; it's
actually:
:0:
* ^Subject:.*[\0-9\][\0-9\][\0-9\][\0-9\][\0-9\]
junkfile
>From my reading of the regexp docs I thught this should catch all long
number sequences enclosed in \, but I don't think it's right.
Anthony
--
Anthony Campbell - running Linux GNU/Debian (Windows-free zone)
For electronic books on the Assassins and on homeopathy, skeptical
essays, and over 150 book reviews, go to: http://www.acampbell.org.uk/
Our planet is a lonely speck in the great enveloping cosmic dark. In our
obscurity, in all this vastness, there is no hint that help will come
from elsewhere to save us from ourselves. [Carl Sagan]
Reply to: