Hi,
I wrote two recipes. The first one works, the second one does not.
Could anybody tell me why?
(the perl-script test.pl produces some output to stdout, that I want to
sent back to the sender)
:0 c
* ^TO_testpl1@
*!^FROM_DAEMON
*!^X-Loop: testpl1(_at_)mydomain(_dot_)com
|(formail -r -A "Precedence: junk" \
-I"From: testpl1 <testpl1(_at_)mydomain(_dot_)com>" \
-I"Subject: testpl1..." \
-A "X-Loop: testpl1(_at_)mydomain(_dot_)com";\
perl test.pl >$FILEDIR/testpl1.txt;\
cat $FILEDIR/testpl1.txt )|$SENDMAIL -t
:0 c
* ^TO_testpl2@
|(perl testpl2 )|$SENDMAIL -t
# this doesnt work either :-(
:0 c
* ^TO_testpl2@
| perl testpl2|$SENDMAIL -t
Thank you very much in advance!
Costa