On Wed, 22 May 1996, Guy Geens wrote:
Let's give it a try: change the second recipe to:
:0 b
| { cat ./$HEADERFILE ; \
echo "User $FROM\nOn $DATE\nsent a message to me.\n"\
"Please process and reply to $TO\n" \
"The message received is given below\n" \
"-------------------------------------\n" ; \
cat - } | formail ... | $SENDMAIL -oi -t
Thanks for your response. After :0 b, isn't the body of
the email on stdout (or stdin, depending on how you want to
look at it). If that is true, after the the first `cat` it
is lost and the last `cat` would be expecting an input from
stdin. Since procmail execution is not tied to any terminal,
that might cause an error/automatic EOF(?)
Am I missing something here?
--
Das Devaraj
-------------------------------------------------------------------
Interested in Vegetarianism? Vegetarian Restaurant Trek
Web http://www.VegInfo.com 712 Bancroft Road #320
e-mail info(_at_)VegInfo(_dot_)com (subject Help) Walnut Creek, CA 94598
Interactive Voice/fax Response (510) 256-8420 USA