Chuck asked,
should it look like this?
:0:
* ! LISTNAME ?? ^^^^
{
LOG="
--->Listname-recipe : ($LISTNAME)
"
}
$LISTNAME
No, because you still have "$LISTNAME" hanging there doing nothing.
You've dangled it after the outer recipe instead of dangling it after
the inner one, but it's still just dangling.
As Bart explained,
Each recipe (introduced by ":0") must have exactly one action.
Bart's first recommendation is good:
:0
* ! LISTNAME ?? ^^^^
{
LOG="
--->Listname-recipe : ($LISTNAME)
"
:0:
$LISTNAME
}
His second suggestion would have been good too if he hadn't made a typo:
:0
* ! LISTNAME ?? ^^^^
{
LOG="
--->Listname-recipe : ($LISTNAME)
"
}
:0: A
$LISTNAME
The second-to-last line should be
:0A: # or :0 A:
because `A' is a flag for the recipe, not the name of the local
lockfile. Then that way will work.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail