I was certain that several weeks ago I had
(downloaded, read, received in email, etc) a shell script
that emulated sendmail with a perl script, using a module from CPAN.
I've scanned the web using every search string, and no luck.
Wonder if I'll ever find it.
It actually let you send text to it,
formatted as if it were being piped to sendmail,
then sent it out via a configured SMTP perl script.