question on a procmailsc example

David W. Tamkin dattier at
Fri Sep 15 18:09:41 CEST 2006

Zhiliang Hu wrote:

> I took a loser look 

I hope you meant "a closer look."

> into the cases where this scoring recipe failed, and
> found many mail clients put a whole paragraph into a single line therefore
> there is only one ">" per paragraph in quoted text.  In this case it seems
> count of bites or words on quoted vs unquoted lines makes better sense but
> may be complicated to do...(?)

Can't see how to do it without an external fork ... so here goes:

UNQUOTED=| grep -v ^>

* B ?? 1^1 > 1
* -2^1 UNQUOTED ?? .
{ whatever you want to do if there is too much quoting }

More information about the procmail mailing list