procmail
[Top] [All Lists]

Variable as action line?

1997-10-15 19:22:01
Is it possible to have the contents of a variable as the action line of
a recipe?  I've tried many brace combinations and none have worked.

What I want is this:

DUMPMAIL=`formail -i "X-Fkey: junk" -i "X-Spammer: $SPAMMER" >> junkmail`
:0 :
* SPAMMER ?? .
$DUMPMAIL

How do I specify this correctly?

Thanks much.

GReg
-- 
Gregory S. Sutter                       "How do I read this file?"
mailto:gsutter(_at_)pobox(_dot_)com                "You uudecode it."
http://www.pobox.com/~gsutter/          "I I I decode it?"


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