The following autobot recipe format [below] works "AOK" including
the logging of sender's address. But...
I would like, as an option, the ability to include the original
sender's message (if any) *below* the outgoing autobot.txt form
response when autoreplying.
Actually, it would be nice to know how to do this and the reverse
of message/text positions if the need ever arises.
Thanks in advance for any assistance...I thought I had this once
but was either dreaming or it's misssssplaced.
Eric Hilding
eric(_at_)hilding(_dot_)com
# ---------------------------------------------------------
# AUTOBOT TEST
# -------------
# This script needs to return the sender's original message
# below the autobot form letter message...not sure what to use.
:0hc
* !^FROM_DAEMON
* !^X-Loop: eric(_at_)garlic(_dot_)com
* ^TOautobot(_at_)hilding(_dot_)com
| (formail -r -A"Precedence: junk" \
-I"From: Autobot Test <autobot(_at_)hilding(_dot_)com>" \
-I"Subject: Test of an Autobot" \
-A"X-Loop: eric(_at_)garlic(_dot_)com" ; \
cat $HOME/procmail/autobot.txt) | $SENDMAIL -oi -t
:0 c:
* ^TOautobot(_at_)hilding(_dot_)com
| formail -rtzxTo: >> $HOME/procmail/autobot.log
:0 a:
Aautobot.IN