procmail
[Top] [All Lists]

detecting NULs in incoming messages

1998-05-08 12:58:33
In a show of great brilliance, the first I time I tried to post this I man-
aged to send this to another mailing list to which I subscribe, one whose
topic has nothing to do with handling mail.  Let's try again.

I had suggested to Timothy Luoma,

| > * HB ?? ^@

Philip Guenther corrected,

| Actually, this doesn't work: the nul is interpreted as the end of the
| line when the regexp engine sees it, so the above condition will always
| match.  Procmail can handle nuls in the e-mail message, but not in a
| .procmailrc.

Hmm.  Thank you.  So then it doesn't matter whether one's editor can deal
with a NUL or not.

| > * HB ?? [^A-\255]

| Whoops, you left out the real caret.  That's supposed to be a inverted
| character class, so it should be
|
|       * HB ?? [^^A-\255]
|
| Open bracket, caret, control-A, minus, character 255, close bracket.

Right.  Thank you again, Philip.

<Prev in Thread] Current Thread [Next in Thread>
  • detecting NULs in incoming messages, David W. Tamkin <=