On Mon, 6 Sep 1999 13:30:52 +0200 (CEST), PILCH Hartmut <phm(_at_)a2e(_dot_)de>
wrote:
:0 c w: wortbasarlock
* ^To: wortbasar@
{
:0 b c w
| wortbasar > RESULT
:0
| { formail -r -A "Precedence: junk" -A "X-Loop: test" -A "From:
wortbasar(_at_)a2e(_dot_)de";cat RESULT; } | $SENDMAIL -t;
}
Especially, I would like to place the perl script wortbasar in the middle
of a pipe and do without the temporary file RESULT, turning the whole
bracket expression into a single line like
Try something like
:0 c w :wortbasarlock # not sure if you can use a local lock file here?
* ^To: wortbasar@
{
:0bfw
| wortbasar
:0
| formail -rkb -A "Precedence: junk" -A "X-Loop: test" \
-A "From: wortbasar(_at_)a2e(_dot_)de | $SENDMAIL -oi -t
}
The idea is very simple, this is one of the three or so forms of
autoreply generation in common use. (Perhaps there should be an
example of it in procmailex, too.)
Hope this helps,
/* era */
--
Too much to say to fit into this .signature anyway: <http://www.iki.fi/era/>
Fight spam in Europe: <http://www.euro.cauce.org/> * Sign the EU petition