procmail
[Top] [All Lists]

Unintended consequences

2006-04-05 14:20:11
This is more or less related to the subject: Re: Can't get action | to
work.

The action pipe I'm using is: /bin/echo -e $CURTIME : foreign charset :
$MATCH >> /home/fleet/updates/spam.log

MATCH in this case contains "[asterisk] Some Stupid Title [asterisk]".
Asterisk is, of course, the asterisk symbol.

What wound up in the spam.log (output of the pipe) was the date, the
recipe description; then for the subject, a complete directory of my
incoming mail directory - Some Stupid Title - and another complete listing
of my incoming mail directory.

Apparently the asterisk, in this case, was interpreted as a request for a
directory listing.  Is there something I can do to MATCH (or anything
else) to prevent this from happening?  It doesn't do any harm, of course,
but it's annoying and it raises little red flags.  Could a Subject contain
"things" that COULD cause harm when "echoed" in this manner? Could a
subject like "Change your form * It's easy" be interpreted as 'rm *'?

                                - fleet -



____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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