procmail
[Top] [All Lists]

Re: How to do high-bit characters in procmail regexp ?

1999-12-02 07:56:47
Walter Dnes <waltdnes(_at_)waltdnes(_dot_)org> writes:
:0HB
* -40
* 1^1 [X-Y]
| formail -A "X-Reject: High-bit character set in email"

 The 40 margin allows email through if it's regular us-ascii
but has a few "Copyright/Registered/"Trademark" characters in
the text.  That should avoid false positives.  If procmail
doesn't recognize that sequencing, another option might be
the following (pseudocode again)
...

It'll recognize the range in the character class just fine.  The only
character procmail can't handle in an rcfile in NUL.


Philip Guenther