procmail
[Top] [All Lists]

filtering spam with chinese Subject (2)

2002-04-16 07:57:35
Hi,

I tried to filter spam with chinese characters in the Subject:

:0D
* Subject:[^$pat]*[$pat][$pat][$pat]
spam

where:
pat=' ¡¥¦¨©ª¬­®¯±´µ¶·¸º¾¿ÀÁÂÃÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕרÙÚÛÝÞàáâãæçèéêëìíîïðñòóôõ÷ùúûýþÿ'

I thought of searching for at least 3 bad characters in a row.
Unfortunately it doen't work. I found out, that it works, if
I search only for one character:

:0D
* Subject:[^$pat]*[$pat]
spam

but this is a bit too picky IMO.

Why does the pattern [$pat][$pat][$pat] not work? -- Or in other
words: is there something like \{3,} in procmail to repeat patterns?

-- 
   Johannes
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail