Ralph SOBEK writes:
Hello Folks,
Procmail has the number of lines of a piece of mail internally
since there are the operators '<' and '>', right? Is it possible to
recover this number of lines, or size, in a variable? I would like to
recover this in a variable within procmail.
Is this possible?
This is the first, and so far last :), scoring recipe I wrote
:0BH
* 1^1 ^.*$
{ }
LINES=$=
The condition line adds 1 (one) to the score for every line in header and
body. $= contains the score of the last recipe. man procmailsc for details.