Sndmail is a multi-platform sendmail emulator and drop-in replacement for *nix-like platforms.
It was created primarily for use in Docker containers. Whilst there are many different sendmail emulators available, most lack working sendmail -bs
functionality (running SMTP on standard input) which is now the default with Symfony mail.
sendmail -bs
)Message-Id
, From
& Date
headerssndmail
executable from /usr/sbin/sendmail
sndmail.conf.example
to /etc/sndmail.conf
making any necessary edits to adjust to your SMTP relay serverWarning: This will delete any existing /usr/sbin/sendmail!
Linux & Mac users can install it directly via:
sudo bash < <(curl -sL https://raw.githubusercontent.com/axllent/sndmail/develop/install.sh)