procmail
[Top] [All Lists]

Adding body to autoresponder

2000-01-14 08:56:40
Hello everyone,

I can set up autoresponders just fine.... what I would like to be able to do is to also capture the body of the incoming message and place that in the return email along with the text file that I will be sending back. I am not concerned with any attachments which may be associated with the incoming mail. Only the message body.

Here is a snipplet of what I have.

:0 hc
* ^TONoSpam
* !^FROM_DAEMON
* !^X-Loop: .*
| (formail -r -t -A"Precedence: junk" \
   -I"From: Postmaster <whatever(_at_)domain(_dot_)com>" \
   -A"X-Loop: NoSpam(_at_)domain(_dot_)com" ; \
   cat $HOME/uce.txt ) | $SENDMAIL -t

So... this works fine. But I would like to grab the original message text and place it along with the uce.txt file and send that back to the original sender.

Can someone give me some advice?

Thanks people
Randy

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