Quoting David B. O'Byrne (dave(_at_)interzone(_dot_)ucc(_dot_)ie):
I would like to forward just a From and Subject field to another mail
drop (ideally I'd love if I could also forward say, the first 100
charachters of the body) ...
This is just off the top of my head...
:0c
* !X-Loop: you(_at_)your(_dot_)domain
{
FROM=`formail -XFrom:`
SUBJECT=`formail -XSubject:`
:0b
| (echo $FROM; \
echo $SUBJECT; \
echo "X-Loop: you(_at_)your(_dot_)domain"; \
head -c 100) | $SENDMAIL recipient(_at_)forward(_dot_)address
}
--
Michael Stone, Sysadmin, ITRI PGP: key 1024/76556F95 from mit keyserver,
mstone(_at_)itri(_dot_)loyola(_dot_)edu finger, or email with
"Subject: get pgp key"