Self-host dma
v0.14Lightweight Mail Transport Agent for local mail delivery
- Stars
- 266
- Requires
- OpenSSL
What is dma?
dma (DragonFly Mail Agent) is a lightweight MTA for home and office environments. It accepts emails from local mail clients and delivers them locally or to remote destinations via SMTP. It supports TLS/SSL encryption and SMTP authentication for secure remote delivery. Unlike full MTAs such as sendmail or Postfix, dma does not accept incoming connections on port 25, making it suitable for outbound-only mail. It installs via package managers on FreeBSD, Ubuntu, and Arch, or builds from source on Linux and BSD. Configuration uses two files in /etc/dma: auth.conf for SMTP credentials and dma.conf for smarthost, port, aliases, spool directory, and TLS options. Licensed under a BSD-style license, actively maintained since 2011.
Should you self-host dma?
dma scores 48/100 on selfhost.directory (how scoring works) and ranks #65 of 106 in Email. It has 266 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 moderate: expect some configuration beyond a single command. It is Other-licensed and written mostly in C.
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 dma vs Listmonk side by side.
Features
- Address masquerading
- Alias support
- Certificate pinning
- Local Mail Delivery
- Mail queue management
- Null client mode
- Opportunistic TLS
- Remote Mail Delivery
- Smarthost relay
- SMTP Authentication
- STARTTLS support
- TLS/SSL Support
dma README
More in Email
dmarcguardSelf-hosted tool for parsing DMARC aggregate reports into a SQLite database with a web UI, Prometheus metrics, and MCP server for AI access.
DMARC Report ViewerSelf-hosted open-source tool fetching DMARC and SMTP TLS reports via IMAP with a responsive web UI, charts, and export. Runs as a single binary or small Docker image.
docker-mailserverSelf-hosted, open-source mail server image (Postfix, Dovecot, Rspamd, ClamAV, Fail2ban) with SMTP, IMAP, LDAP and OAuth2 login, configured by files only.
docker-smtpA self-hosted Docker image running Exim4 that lets containers send outgoing email directly or relay through a smart host like Gmail or SendGrid.
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.
0 comments