Steven A. Reisman wrote:
>On Fri, Mar 11, 2005 at 10:31:26AM -0800, Marc Perkel wrote:
>
>
>>Trying to write a regex string to detect 8-bit characters in various
>>headers. What I want to do is drop message with lots of 8-bit characters
>>in the subject line.
>>
>>something like:
>>
>>drop message = Subject full of 8 bit characters
>> regex = ^Subject::.*[¢-ÿ]{6,}
>>
>>but that isn't working for some reason.
>>
>>
>
>
>>From my .forward filter:
>
> if $h_subject matches [\\x80-\\xff]{5} then
>
>You probably have to escape the \, or surround your expression with \N.
>(You need only test for 6 characters, ie. {6} instead of {6,}.)
>
>
>
Doesn't quite work but it's got to be something very similar.
--
Marc Perkel - marc@???
Spam Filter: http://www.junkemailfilter.com
My Blog: http://marc.perkel.com
My Religion: http://www.churchofreality.org
~ "If it's real - we believe in it!" ~