At 13:38 2010-07-26 +0300, Udi wrote:
Never need mime decoder? or you have chroot environment? in this case you
can add the "echo" to the allowed programs.
Provided that YOU have the access to the host necessary to do so. Many
users are restricted to policies that OTHERS establish.
It is a handy tip, but shelling to set those variables does seem an
excess. I prefer to involve the shell only when it's necessary -- not that
I don't run formail a few times as part of my standard address extractions
(just so that they are in variables for subsequent use), but those aren't
processes which can be easily or cleanly accomplished within pure procmail,
unlike setting a few constants:
# newline has closing quote on following line
NL="
"
# space+tab
SPACETAB=" "
# blank has space + tab + newline
BLANK="${SPACETAB}${NL}"
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
____________________________________________________________
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