Self-host docker-smtp
Docker SMTP server for outgoing mail relay
- Stars
- 145
- Port
- 25 (SMTP)
bytemark/smtpWhat is docker-smtp?
docker-smtp is a minimal Docker image maintained by Bytemark Hosting that provides an Exim4 SMTP server for containerized applications to send outgoing email. It can operate in two modes: as a direct delivery SMTP server sending mail straight to recipients, or as a smart host that authenticates and relays through an external SMTP provider such as Gmail or SendGrid. The image exposes port 25 and is configured via environment variables including MAILNAME, RELAY_HOST, RELAY_PORT, RELAY_USERNAME, RELAY_PASSWORD, and RELAY_NETS. It runs on any architecture with the Debian exim4-daemon-light package. The project has not been updated since 2018 and uses Debian Stretch as its base.
Should you self-host docker-smtp?
docker-smtp scores 38/100 on selfhost.directory (how scoring works) and ranks #88 of 106 in Email. It has 145 GitHub stars.
There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.
Setup is easy: most people get it running in one sitting. An official Docker image is available. It is written mostly in Shell.
Its closest alternative on selfhost.directory is Listmonk (80/100, 24 017 stars). It scores higher overall, so compare the two before you pick. See docker-smtp vs Listmonk side by side.
Features
- Direct delivery
- Network access control
- Smart host relay
- SMTP Server
docker-smtp README
More in Email
DockFlareOpen-source, self-hosted control plane turning Docker labels into Cloudflare Tunnel routes, DNS entries and Zero Trust policies, with an optional sovereign email suite.
doublezeroOpen-source, self-hosted dashboard for Amazon SES: send emails through a markdown-friendly API, track bounces and multi-recipient status, and search messages.
DovecotSelf-hosted open-source IMAP/POP3 mail server for Linux with LMTP, ManageSieve, LDAP/PAM/OAuth2 auth, Sieve filtering, full-text search and official Docker images.- DovelPosta is a self-hosted email delivery and inbound platform for developers and teams, designed as an alternative to services like SendGrid or Mailgun.
EGroupwareEGroupware is a self-hosted open-source collaboration suite from Germany with email, calendar, contacts, tasks, projects, CRM, chat, and documents. Free CE or paid EPL.
EmailEngineHeadless email client
emailflareEmailFlare is a self-hosted, open-source email platform with a transactional email API and team inbox. Runs on Cloudflare with Docker fallback.
email-oauth2-proxySelf-hosted open-source proxy adding OAuth 2.0 to legacy email clients for Exchange, Gmail, and more.
EmailRelayEmailRelay is a simple SMTP proxy and relay MTA, written in C++, for Linux and Windows.
emailwizSelf-hosted mail server installer: one script sets up Postfix, Dovecot, SpamAssassin, OpenDKIM and fail2ban on Debian/Ubuntu and emits DKIM, SPF and DMARC records.
EonvelopeOpen-source self-hosted email archive supporting IMAP, POP, Exchange, and JMAP with integrations for Paperless-ngx, Immich, Nextcloud, and Searxng.- EximExim is a message transfer agent (MTA) developed at the University of Cambridge for use on Unix systems connected to the Internet. It is freely available under the terms of the GNU General Public License.
0 comments