procmail
[Top] [All Lists]

Re: reg.expr.

2000-04-01 18:32:20
On Mon, Mar 27, 2000 at 09:49:42AM +0200, Jost Schaper wrote
I do not know, wether it is worth to subscribe (have lost majordomo's
adress):
  OK, I'll cc: this to your address

The letters I receive are similar to the following:
½£µÀ¶ÍÁ¶ÉíÐĵĺ÷½·¨£¬»¶Ó­²Î¼Ó£

and these:
£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­
¡¡¡¡±±¾©ÆßÒÕÌåÓý·¢Õ¹ÓÐÏÞ¹«Ë¾£¨¼ò³Æ"ÆßÒÕÌåÓý"£©³É
Á¢ÓÚ1999Äê¡£¹«Ë¾Ö÷ÓªÏîĿΪÍƹã¸÷ÖÖÌåÓý»î¶¯£¬ÓÈÆä
ÊÇÐÂÐË¡¢ÁíÀàÌåÓý»î¶¯£¬²¢×¢Öؽ«ÓéÀÖ½¡ÉíÈÚÈëÆäÖС£
ÆßÒÕÌåÓýµÄ×éÖ¯ÕßÊÇһȺ³äÂú»îÁ¦ºÍ½øÈ¡¾«ÉñµÄÄêÇáÈË£¬
ÎÒÃÇÊÓÍƹãÌåÓýÔ˶¯Îª¼ºÈΣ¬ÔÚÔ˶¯ÖиÐÊÜÈËÓë×ÔÈ»µÄ
Èںϣ¬ÌåÑéÈËÄÚÔڵľ«Éñ£¬ÅàÑøÓÂÍùֱǰµÄÆ·µÂ¡£ÔÚ¹«
˾³ÉÁ¢²»µ½Ò»ÄêµÄʱ¼äÀÒÑÈ¡µÃÁË׿ÓгÉЧµÄ·¢Õ¹ºÍ
Ï൱ÉîÔ¶µÄÓ°Ïì¡£

I am thinking of have .procmail look for these in the Subject and/or the
body of the mail, but I do not know how to formulate this as
reg.-expressions in the first line or the complete lines for procmail.
  Drop by my webpage (see URL below) and check out my Chinese spamfilter
(The pointer is on the main page).  It flags any email with more than 5%
high-bit characters (i.e. CHAR(128)..CHAR(255).  If you normally
correspond with people who send a few high-bit characters (e.g. French
accents or German umlauts) email me, and I'll help tweak the filter to
avoid false positives.

-- 
Walter Dnes <waltdnes(_at_)waltdnes(_dot_)org> SpamDunk Project procmail 
spamfilter
at http://www.waltdnes.org   This message coming to you in living Linux.

<Prev in Thread] Current Thread [Next in Thread>