Inge Balswick wants
to add/append a few lines to the body of a message before forwarding
it. Preferably from a file. How?
From Jari's procmail tips (ftp://cs.uta.fi/pub/ssjaaa/pm-tips.html),
section 15.3:
:0 fbw
| echo "This is a line of text _before_ the body"; \
cat -
:0 fbw
| cat - ; \
echo "This is a line of text _after_ the body"
:0 fbw # catenate a canned message before the body
| cat msg.txt -
:0 fbwi # replace the body with a canned message
| cat msg.txt
Inge, just revert cat's arguments in the third example to get the file
*after* the body:
:0 fbw
| cat - msg.txt
/HW