Thanks Kreme and Ross for the explanation, it is clear to me now.
I took a loser 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...(?)
Zhiliang
On Thu, 14 Sep 2006, Dallman Ross wrote:
Date: Thu, 14 Sep 2006 18:39:17 +0200
From: Dallman Ross <dman(_at_)nomotek(_dot_)com>
To: procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
Subject: Re: question on a procmailsc example
On Thu, Sep 14, 2006 at 10:07:31AM -0600, Google Kreme wrote:
On 14 Sep 2006, at 08:50 , Zhiliang Hu wrote:
:0 Bh
* 20^1 ^>
And keep in mind, this includes the headers which are by
necessity not quoted, to you already have a unquoted count of
10-20 (or more) lines. Basically, this recipe will toss mail
with AOL-styled 800 lines of quoting and "Me Too!" attached at
the end.
Nope, the header lines are not counted in that recipe. Notice
the "B" flag. Only the body is considered for the conditions
of that recipe. The "h" flag has to do with the action line,
not the conditions.
The rest of your explanation seemed fine at a quick read.
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail