extsmail

enables the robust sending of e-mail to external commands

Install

All systems
curl cmd.cat/extsmail.sh
Debian Debian
apt-get install extsmail
Ubuntu
apt-get install extsmail
Windows (WSL2)
sudo apt-get update sudo apt-get install extsmail
Raspbian
apt-get install extsmail

extsmail

enables the robust sending of e-mail to external commands

extsmail masquerades as the standard UNIX sendmail program, reading messages, and later piping them to user-defined commands. In a sense, extsmail can be thought of as a very simple "tiny" sendmail (Think SSMTP, UUCP, ...) A typical use is to allow e-mail to be piped via ssh to external servers running a full sendmail-compatible MTA. extsmail is designed to have sensible defaults, and configuring it is a one-off, quick job.