On Sat, Jul 02, 2005 at 06:02:58PM -0400, Parv wrote:
in message <20050702075249(_dot_)GA13286(_at_)panix(_dot_)com>,
wrote Dallman Ross thusly...
On Sat, Jul 02, 2005 at 02:09:37AM -0400, Parv wrote:
The trouble is that you need a $ expandor in those conditions
where the token appear, and you need to turn them into scoring
tokens, anyway:
:0 D
* $ $=^0
* -1^1
/dev/null
I did not thought before that a procmail's own variable would also
need to be expanded.
After reading Rudd's slightly cryptic email, i was somewhat
perplexed just how to "[u]se a variable to transport the score". I
knew i would have to do variable expansion, but was not quite sure
how to translate that into a score.
All Ruud meant was this, which can often be a cleaner approach
anyway:
[ some recipe set that generates a score goes first]
MYSCORE = $=
:0
* $ $MYSCORE^0
* -1^1 a_regex
/dev/null
--
dman
____________________________________________________________
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