procmail
[Top] [All Lists]

Deliver to program stored in variable

2003-05-12 13:27:35

Sigh... I've been trying this out in about evey combination I know of,
but it doesn't seem to want to work.  I'm trying to do the following:

[start code]

$DELIVER="| /path/to/program -default -parameters"

:0
* Condition 1
$DELIVER -more -parameters

:0
* Condition 2
$DELIVER -different -parameters

:0
$DELIVER

[end code]

Alternatevly I wouldn't might the default parameter set to also be
$DEFAULT, but I'm not pushing it right now.

This usually ends up being undelerviable or if I take out the '|' and
put it into the code, I end up writing out to a file called '|'.  I've
tried " and ' and even no quotes, but it fails to deliver to the
program.  Am I stuck with having to specify the program every time or
am I missing something obvious.

-- 
Till Later,
Jake <karrde(_at_)viluppo(_dot_)net>
http://www.viluppo.net/


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail