procmail
[Top] [All Lists]

Re: Special characters from recipe not escaped for the shell

2003-12-29 09:35:33
On 29 Dec 2003, at 08:15, Lee Hoffner wrote:
Hi, again. My recipe can break if there is an & in the subject line. Here is a
sample log entry:

[Snip]

TRAP= 'echo '`date`': HTML message from '$SPAMMER' with subject '$SUB' was

This shell invocation is not escaped, so the '&' backgrounds the echo.

--
May you live in interesting times

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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