Philip skribis:
In his previous message, the recipe was given as:
:0 fh w
| formail -I "Subject: [procmail]"$SUBJT
Problem 1: SUBJT contains a space and is not quoted so the shell splits
it into multiple arguments. You should move the variable expansion into
the double quotes.
Right, I assumed some magic concatenation, as what happens
when you write:
NL="
"
var="some text"$NL
(I assume that var holds a string of length 10, the last character being
newline. The quotes get lost. Am I right?)
Since you can't invoke _any_ commands via the shell, you might as well
unset SHELLMETAS completely at the top of the rcfile and thereby disable
all use of the shell.
And that's what I did too, and now it's working fine, thanks.
Ruud
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail