procmail
[Top] [All Lists]

Re: detecting blank email

1997-08-21 12:04:36
When Timothy Luoma asked how one detects empty bodies, Dan Smith offered
code that hinged on this condition:

  * B ?? ^^( |  |$)*^^

One might want to do it this way, based on Rik Kabel's suggestion,

  * B ?? ^^\>*^^

to catch not only blank and empty bodies but also those containing no alpha-
numerics.  (I have occasionally received messages consisting of just ">" in
the body as if to quote something or just "." in the expectation that I was
an autoresponder.)

<Prev in Thread] Current Thread [Next in Thread>
  • Re: detecting blank email, David W. Tamkin <=