* Dallman Ross <dman(_at_)nomotek(_dot_)com> [20010921 12:31]: writing on the
subject 'Re: matching high5 chars'
| > From: Eric Smith <eric(_at_)fruitcom(_dot_)com>
|
| > I want to dump all mail with these kind of chars.
| >
| >
| > Subject: ¶W§C»ù¥þ²y©w¦ì¨t²ÎPDA¶q¨ÑÀ³
| >
| > how?
|
| The list archives contain some solutions for this. Here's what
| I use. I only look for this stuff in the From: or the Subject:
| line. Note that I had earlier - not shown here - assigned
| the message subject to the variable `$SUBJ'. The basis for the
| recipe was concocted by longtime list denizen David Tamkin.
|
| INFINITY = 2147483647 # "magic" number limit for procmail scoring
| NONPRINTING = [^$TAB$SPACE-~] # char delimiter to i.d. non-Western text
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Thanks for explaining this but I was just wondering what the right order is:
TAB-SPACE or SPACE-TAB ??
That think has always left me agape ;)
|
| :0: # find non-Western character sets; scoring finesses OR conditions
| * $ $INFINITY^0 ^From:.*$NONPRINTING
| * $ $INFINITY^0 SUBJ ?? ()$NONPRINTING
| |spamsnag
|
| --
| Netcom has imploded. Please now use NOTnetcom.com for mail.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Ex-Netcommies: Mail "forwards" for free forwarding service!
| NOT affiliated with EarthLink, Inc.'s Netcom brand identity.
| _______________________________________________
| procmail mailing list
| procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
| http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
-Wash
--
Odhiambo Washington
Wananchi Online Ltd.,
wash(_at_)wananchi(_dot_)com 1st Flr Loita Hse.
Tel: 254 2 313985 Loita Street.,
Fax: 254 2 313922 PO Box 10286,00100-NAIROBI,KE.
A general leading the State Department resembles a dragon commanding ducks.
-New York Times, Jan. 20, 1981
pgpH8U8CGOEC8.pgp
Description: PGP signature