MS

msmtp

Lightweight SMTP client for sending mail

Mail Servers ★ 294 stars Easy setup GPL-3.0

msmtp is a small SMTP client that acts as an SMTP relay for command-line tools and mail user agents, forwarding messages to a real mail server. It supports TLS, authentication, and multiple account profiles.

Key features

  • SMTP relay client
  • TLS and authentication
  • Multiple account profiles
  • Sendmail-compatible mode

Strengths

  • Released under the GPL-3.0 license
  • Easy to set up — beginner-friendly
  • Written in C
  • Tiny footprint — runs in 32 MB RAM

Is msmtp secure?

OSV.dev has no published security advisories for msmtp's repository. No known vulnerabilities is not proof of security: it means none have been publicly catalogued.

Source: OSV.dev, checked 2026-10-14. How this is measured.

msmtp replaces

Health badge

Maintain msmtp? Add its health score to your README. The badge links back to this page.

SelfHostIndex: 71 · good

Markdown
[![SelfHostIndex health score for msmtp](https://selfhostindex.com/badge/msmtp.svg)](https://selfhostindex.com/app/msmtp/)
HTML
<a href="https://selfhostindex.com/app/msmtp/"><img src="https://selfhostindex.com/badge/msmtp.svg" alt="SelfHostIndex health score for msmtp"></a>
reStructuredText
.. image:: https://selfhostindex.com/badge/msmtp.svg
   :alt: SelfHostIndex health score for msmtp
   :target: https://selfhostindex.com/app/msmtp/

The score is recomputed on every nightly rebuild from public repository data — see how it is calculated.

Compare msmtp

3 head-to-head comparisons.

Similar mail servers apps