Eric wants to quote the letter.
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.
Use sed and the -k option to formail
:0hc
* !^FROM_DAEMON
* !^X-Loop: eric(_at_)garlic(_dot_)com
* ^TOautobot(_at_)hilding(_dot_)com
| (formail -rk -A"Precedence: junk" \
^ I added that.
-I"From: Autobot Test <autobot(_at_)hilding(_dot_)com>" \
-I"Subject: Test of an Autobot" \
-A"X-Loop: eric(_at_)garlic(_dot_)com" ) | \
sed -e '/^$/!b' -e x -e '/./b' -e x -e 'r filename' | \
$SENDMAIL -oi -t
I am not sure if I mean this as a joke.
Soren