axllent / sndmail

A *nix sendmail emulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sndmail - a sendmail emulator

Build status CodeQL Go Report Card

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)

Installation

  • Static binaries can be found on the releases
  • Copy or symlink the sndmail executable to /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)

Linux & Mac users can install it directly via:

sudo bash < <(curl -sL https://raw.githubusercontent.com/axllent/sndmail/develop/install.sh)

Warning: This will delete any existing /usr/sbin/sendmail

About

A *nix sendmail emulator

License:MIT License


Languages

Language:Go 89.4%Language:Shell 10.6%