OpenSMTPD logo

OpenSMTPD

Website

Secure, lightweight SMTP server implementation compliant with RFC 5321

Activity unknown

No repository statistics available for this project.

OpenSMTPD screenshot

OpenSMTPD is an open-source implementation of the server-side SMTP protocol (RFC 5321) originally developed as part of the OpenBSD project. It provides a minimal, security-focused mail transfer agent with a compact configuration model, extensible table backends and a filters API for mail processing.

Key Features

  • Implements SMTP and common extensions with an emphasis on correctness and RFC compliance.
  • Small, modular C daemon designed with privilege separation and process isolation to reduce attack surface.
  • Declarative smtpd.conf with expressive match/action rules and built-in table support (examples in the codebase include passwd, sqlite and ldap table backends).
  • Filters API and external filter/queue helpers allow integration of greylisting, DKIM signing, Rspamd, and other processing as separate components.
  • Delivery options include maildir and mbox formats, an MDA helper, and LMTP client support for local delivery.
  • TLS support via libtls/libressl with compatibility for OpenSSL builds, and per-listener TLS/cipher configuration options.
  • Portable distribution and an "extras" set of table/filter modules allow packaging for non-OpenBSD systems while keeping the core minimal.

Use Cases

  • Host SMTP for small organizations or single-host mail services that prioritize a small, auditable codebase.
  • Deploy as a mail gateway/relay that enforces policy via filters and external scanners (spam, DKIM, greylisting).
  • Integrate with system account stores or directory services using table backends (passwd, sqlite, LDAP) for virtual users and lookups.

Limitations and Considerations

  • Advanced features such as DKIM signing, comprehensive anti-spam, or virus scanning are typically provided via external filters or proxies rather than baked into the core; administrators must deploy and configure filter components for those functions.
  • Historical security advisories (patched in later releases) demonstrate the need to track upstream security fixes and apply updates promptly for exposed versions.
  • The project prefers LibreSSL/libtls but supports OpenSSL; TLS behavior and available cipher/protocol features can vary depending on the TLS library used.

OpenSMTPD is a focused, security-oriented MTA that favors clarity and modularity. It is well suited for administrators who want a small, auditable mail server core and to assemble additional functionality via filters and table backends.

Categories:

Tags:

Tech Stack:

Share:

Similar to OpenSMTPD

OpenVPN logo

OpenVPN

Open-source VPN daemon for TLS-based secure tunneling

14.4k
3.4k
Last commit

OpenVPN is a widely used open-source VPN daemon providing TLS/SSL-based secure tunneling, flexible client-server and site-to-site modes, and cross-platform support.

Actively maintained
Alternative to:
OpenVPN CloudConnexa logo
OpenVPN CloudConnexa
+18
Dovel logo

Dovel

Simple Go-based SMTP server for receiving and sending mail

Lightweight SMTP server written in Go that receives and sends email via a single JSON config and executable hooks; supports per-user DKIM and TLS.

Activity unknown
Alternative to:
Amazon Simple Email Service (Amazon SES) logo
Amazon Simple Email Service (Amazon SES)
+11
emailwiz logo

emailwiz

Bash-based installer that deploys a secure Debian/Ubuntu mail server stack.

2.2k
341
Last commit

A Bash script that auto-implements a full mail server (Postfix, Dovecot, DKIM, SpamAssassin) with TLS and PAM-based logins on Debian/Ubuntu.

GPL-3.0Slowing down
Alternative to:
Microsoft Exchange Online logo
Microsoft Exchange Online
+14

chasquid

Simple and secure SMTP mail transfer agent (MTA)

chasquid is a minimalist SMTP server (MTA) for individuals and small groups, focused on secure defaults, easy configuration, and straightforward operation.

Activity unknown
Alternative to:
Postfix logo
Postfix
+11
Exim logo

Exim

Configurable SMTP message transfer agent for Unix-like systems

Exim is an open source SMTP message transfer agent (MTA) for Unix-like systems, offering flexible mail routing and extensive controls for handling inbound email.

Activity unknown
Alternative to:
Amazon Simple Email Service (Amazon SES) logo
Amazon Simple Email Service (Amazon SES)
+10

Maddy Mail Server

Composable all-in-one SMTP/IMAP mail server with security features

6.1k
326
Last commit

Go-based, modular mail server implementing SMTP/LMTP/IMAP with built-in DKIM/SPF/DMARC, storage backends (SQLite/Postgres/S3), Prometheus metrics and Docker support.

GPL-3.0Actively maintained
Alternative to:
Microsoft Exchange Online logo
Microsoft Exchange Online
+10