macOS
brew install msmtplocal Homebrew formula metadata
sudo port install msmtpMacPorts ports tree · mail/msmtp/Portfile · 来源: api.github.com
安装
brew install msmtplocal Homebrew formula metadata
sudo port install msmtpMacPorts ports tree · mail/msmtp/Portfile · 来源: api.github.com
sudo apk add msmtpAlpine Linux edge package indexes · msmtp · 来源: dl-cdn.alpinelinux.org
sudo dnf install msmtpFedora Rawhide package metadata · msmtp · 来源: dl.fedoraproject.org
nix profile install nixpkgs#msmtpnixpkgs package indexes · pkgs/by-name/ms/msmtp/package.nix · 来源: api.github.com
sudo pacman -S msmtpArch Linux sync databases · msmtp · 来源: geo.mirror.pkgbuild.com
sudo zypper install msmtpopenSUSE Tumbleweed package metadata · msmtp · 来源: download.opensuse.org
概览
SMTP client that can be used as an SMTP plugin for Mutt
历史
msmtp is Martin Lambers's lightweight SMTP client for Unix-like mail workflows. The AUTHORS file says msmtp was mostly written by Lambers and that much of its code is shared with mpop. Its manual describes the default mode: read a message from standard input and send it to a configured SMTP server, while keeping command-line options and exit codes compatible with sendmail.
The project grew into a focused replacement for the sending side of a local mail transfer agent. Its configuration organizes SMTP servers as accounts with host, authentication, TLS, and related settings, and the manual documents TLS, multiple authentication mechanisms, delivery status notifications, PIPELINING, server-information mode, Remote Message Queue Starting, and the minimal SMTP server msmtpd.
msmtp's adoption niche is the modular command-line mail stack. It is commonly paired with MUAs rather than acting as a full mail server: the Debian wiki names Mutt and Emacs as examples, and the manual includes examples for Mutt and traditional mail commands. Package managers often provide it as both the `msmtp` executable and a sendmail-compatible MTA alternative for scripts, cron jobs, and small systems that only need outbound SMTP relay.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
SYSCONFDIR/msmtprc~/.msmtprc$XDG_CONFIG_HOME/msmtp/configCredential-bearing paths to review before unattended agent runs.
~/.netrcSYSCONFDIR/netrc可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
msmtp | cli | 全局可执行文件 | |
msmtpd | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:msmtp |
|---|---|
| 版本 | 1.8.33 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/msmtp |
| 主页 | https://marlam.de/msmtp/ |
| 仓库 | https://git.marlam.de/git/msmtp.git |
| 上游文档 | https://marlam.de/msmtp/documentation |
| 许可证 | GPL-3.0-or-later |
| 源码归档 | https://marlam.de/msmtp/releases/msmtp-1.8.33.tar.xz |
| 最后更新 | 2026-07-11T12:22:28Z |
| Pulse | updated |
| 依赖 | gettext, gnutls, libidn2 |
| 构建依赖 | pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | msmtp |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
msmtp 1.8.28-3
light SMTP client with support for server profiles
sudo apt install msmtpmsmtp-mta 1.8.28-3
light SMTP client with support for server profiles - the regular MTA
sudo apt install msmtp-mtamsmtp
nix profile install nixpkgs#msmtpmsmtp 1.8.24-1build2
light SMTP client with support for server profiles
sudo apt install msmtpmsmtp-mta 1.8.24-1build2
light SMTP client with support for server profiles - the regular MTA
sudo apt install msmtp-mtamsmtp 1.8.32-r1
SMTP client with a sendmail compatible interface
sudo apk add msmtpmsmtp-doc 1.8.32-r1
SMTP client with a sendmail compatible interface (documentation)
sudo apk add msmtp-docmsmtp-lang 1.8.32-r1
Languages for package msmtp
sudo apk add msmtp-langmsmtp-openrc 1.8.32-r1
SMTP client with a sendmail compatible interface (OpenRC init scripts)
sudo apk add msmtp-openrcmsmtp-vim 1.8.32-r1
Vim syntax for msmtp
sudo apk add msmtp-vimmsmtp 1.8.32-1.fc45
SMTP client
sudo dnf install msmtpmsmtp 1.8.32-1
A mini smtp client
sudo pacman -S msmtpmsmtp 1.8.32-1.3
Lightweight SMTP Client
sudo zypper install msmtpmsmtp-doc 1.8.32-1.3
Documentation for msmtp
sudo zypper install msmtp-docmsmtp-lang 1.8.32-1.3
Translations for package msmtp
sudo zypper install msmtp-langmsmtp-mta 1.8.32-1.3
MTA based on msmtp
sudo zypper install msmtp-mta来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.