procmail
[Top] [All Lists]

Relegating overly-quoted e-mail to a low priority mailbox

2000-03-24 08:44:23
I had a recipe that would work for quoted e-mail of this form:

this comes from an included piece of e-mail

as:

      # Included e-mail should not be over 75 %
      :0 B:
      * 1^1 ^[>|]
      * -3^1  ^[^>|]
      list-quotes

I wanted to expand it for pieces as this:

RpS> this comes from an included piece of e-mail

      # Included e-mail should not be over 75 %
      :0 B:
      * ()\/^[A-Za-z]*[>|]
      *$ 1^1 $MATCH
      *$ -3^1  ! $MATCH
      list-quotes

This counts correctly the quoted lines, but unfortunately does not
count anything for the un-quoted lines.  The score for "*$ -3^1  !
$MATCH" is always ZERO.

Can someone see what is wrong?

Cheers,

        --Ralph

Dr. Ralph P. Sobek                Disclaimer: The above ruminations are my own.
Ralph(_dot_)Sobek(_at_)irit(_dot_)fr            
sobek(_at_)irit(_dot_)fr                                      
http://beeline.to/genealogy/
Ph:(+33)[0]561558618   FAX:(+33)[0]561556258   http://www.irit.fr/~Ralph.Sobek/
===============================================================================
Estimates are that one-third to two-thirds of animal and plant species will 
disappear in forseeable future!  AWFUL!

<Prev in Thread] Current Thread [Next in Thread>