Use FORMAIL to adjust headers.
You can probably adjust the following to meet your purposes.
- Liston
:0
* Condition
*!^X-Loop: noloop
| (formail -brt -I "From: Username <username(_at_)domain(_dot_)name>" \
-A "X-Loop: noloop";\
echo "Message" ;\
) | $SENDMAIL -oi -t
============================================================================
- Liston Bias The trouble with being in the rat race
Alumnus of Oklahoma State Univ is that even if you win, you're
Alumnus of Florida State Univ still a rat.
-- Lily Tomlin
bias(_at_)pobox(_dot_)com
http://www.pobox.com/~bias
============================================================================