$= is supposed to be equal to the score generated by a recipe right
after it is used.. unfortunately, I can't seem to get it to work.
What I would like is a recipe that adds a header to the message
indicating the score it received in one of my recipes for debugging
when there are problems. Something like this:
# BIG RECIPE GOES HERE
$SCORE = $=
:0 cif
| formail -A "X-Score: $SCORE"
Looks simple enough, doesn't it? Well, it always inserts an X-Score
header containing 0.
From the man page "procmailsc"
MISCELLANEOUS
You can query the final score of all the conditions on a
recipe from the environment variable $=. This variable is
set every time just after procmail has parsed all condi-
tions on a recipe (even if the recipe is not being exe-
cuted).
Am I reading this wrong?
TIA
--
Kenneth P. Turvey <kturvey(_at_)pug1(_dot_)SprocketShop(_dot_)com>
It behooves every man who values liberty of conscience for himself, to
resist invasions of it in the case of others: or their case may, by
change of circumstances, become his own.
-- Thomas Jefferson