procmail
[Top] [All Lists]

Re: How to add score to msg. header

2001-06-07 04:10:52
How to add score variable to message header ?
i.e. 
X-Score: -250

Err...by using a recipe such as the one John Conover just posted at the start
of this thread of messages when he gave his example:

:0
* 1.23^0 something
* 4.56^0 somethingelse
{
    SCORE=$=
    #
    :0 wfh
    | formail -A "X-SCORE: $SCORE"
}

Hope that helps,
Martin
-- 
Martin McCarthy                 /</                  PGP key available
    `Procmail Companion'        \>\  http://www.ancient-scotland.co.uk
     Addison Wesley             /</    http://www.ehabitat.demon.co.uk
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>