https://github.com/axllent/sndmail
A *nix sendmail emulator
https://github.com/axllent/sndmail
sendmail sendmailer
Last synced: 9 months ago
JSON representation
A *nix sendmail emulator
- Host: GitHub
- URL: https://github.com/axllent/sndmail
- Owner: axllent
- License: mit
- Created: 2023-06-11T09:44:11.000Z (over 2 years ago)
- Default Branch: develop
- Last Pushed: 2025-03-14T05:03:58.000Z (10 months ago)
- Last Synced: 2025-03-25T04:06:57.345Z (10 months ago)
- Topics: sendmail, sendmailer
- Language: Go
- Homepage:
- Size: 46.9 KB
- Stars: 8
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Sndmail - a sendmail emulator


[](https://goreportcard.com/report/github.com/axllent/sndmail)
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.
## Features
- Static drop-in replacement for sendmail
- Configurable SMTP relay server, STARTTLS with PLAIN, LOGIN and CRAM-MD5 support
- SMTP on standard input (`sendmail -bs`)
- Auto-generates (if missing from input) `Message-Id`, `From` & `Date` headers
## Installation
- Static binaries can be found on the [releases](https://github.com/axllent/sndmail/releases/latest)
- Copy or symlink the `sndmail` executable from `/usr/sbin/sendmail`
- Copy the `sndmail.conf.example` to `/etc/sndmail.conf` making any necessary edits to adjust to your SMTP relay server
### Install via bash script (Linux & Mac)
**Warning**: This will delete any existing /usr/sbin/sendmail!
Linux & Mac users can install it directly via:
```bash
sudo bash < <(curl -sL https://raw.githubusercontent.com/axllent/sndmail/develop/install.sh)
```