OpenSMTPD
OpenSMTPD is a free server-side SMTP (Simple Mail Transfer Protocol) transfer agent that sends, relays, and receives email for homelabs and small mail services.
Platform availability
Available on 1 of 10 platforms
- Unraid (not listed)
- TrueNAS (not listed)
- Umbrel (not listed)
- ZimaOS (not listed)
- Proxmox (not listed)
- Helm (not listed)
- Mac (not listed)
- Windows (not listed)
- Linux (not listed)
- Any server
Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.
61/100 Good
- Maintained
- 77last commit 18 days ago
- Popular
- 55588 GitHub stars
- Easy to install
- 251 install platform, install notes
- Light to run
- No data
- Security check
- 71no serious findings, CI, OpenSSF Scorecard 4.9/10
Based on 4 of 5 factors.
Availability: platform listings confirmed today
- GitHub stars
- 588
- Open issues
- 125
- Last commit
- 2026-11-03
- Latest release
- 7.9.0p0
- Activity
- declining
Checked 3 days ago - source: GitHub (OpenSMTPD/OpenSMTPD)
Resources & Compatibility
Requirements not published yet.
Checked 3 days ago - source: Docker Hub image tags and published docs
First-install notes
- Install the packaged version Use your system's package command, such as apt install opensmtpd on Debian or Ubuntu, to install a ready-made OpenSMTPD package. Without this step, the mail server program is not installed and there is nothing to configure. source
- Open mail port 25 in Docker If you run the Docker example, map host port 25 to container port 25 with -p 25:25 because 25 is the standard incoming mail port. Without that mapping, other devices cannot send mail to your server. source
- Set trusted senders and lists In smtpd.conf, list the local networks that are allowed to send mail, and if you use forwarding, keep list addresses and their recipient targets in lists.table. If these are missing or wrong, normal mail may be rejected or forwarded mail may not reach anyone. source
Fetched 3 days ago - each note links to its source
Variants
Alternatives (1)
- Postfix - Postfix is a fast, secure SMTP (Simple Mail Transfer Protocol) mail server that administrators can use to accept, relay, and deliver email…
Checked 3 days ago - source: AlternativeTo
Common questions
Should OpenSMTPD run as one user or multiple users?
OpenSMTPD requires at least one user, with _smtpd as the default. It preferably uses two users, _smtpd and _smtpq, because using two users increases security by a large factor.
How do I install a ready-made OpenSMTPD package on Debian or Ubuntu?
Use the system package tool, such as apt install opensmtpd. Without that step, the mail server program is not installed and there is nothing to configure.
Does the Docker example need a special port mapping?
Yes, map host port 25 to container port 25 using -p 25:25. Port 25 is the standard incoming mail port, and without the mapping other devices cannot send mail to the server.
How should OpenSMTPD be configured to forward list mail to multiple recipients?
List the local networks allowed to send mail in smtpd.conf. If forwarding is used, keep list addresses and their recipient targets in lists.table, because missing or wrong entries can cause mail to be rejected or not delivered.
Answers sourced from github.com, github.com, github.com, github.com
Community
- OpenSMTPD (forum)
- OpenSMTPD: An out of bounds read in smtpd allows remote root (forum)
- Help with configuring OpenSMTPD as a SMTP relay : r/selfhosted - Reddit (reddit)
- r/selfhosted on Reddit: Setting up a mail server with OpenSMTPD ... (reddit)
- Say Hello to Goodbye Mails: Temporary Disposable Email Accounts for ... (forum)
- Questions about an OpenSMTPD guide : r/openbsd - Reddit (reddit)
Collected 3 days ago - public community threads