Skip to content

axllent/sndmail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. While there are many different sendmail emulators available, most lack sendmail -bs functionality (running SMTP on standard input) which is now the default with Symfony Mailer.

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)
  • Automatically generates missing Message-ID, From and Date headers
  • Includes the ability to check for latest version and self-update functionality

Installation

  • Static binaries can be found on the releases
  • 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 a bash script (Linux & macOS)

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

Linux & macOS users can install it directly by using:

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

About

A *nix sendmail emulator

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •