跳至内容

安装

快速安装(推荐)

一条命令安装最新版本:

bash <(curl -fsSL https://raw.githubusercontent.com/monto-fe/smtp-probe/main/install.sh)

指定版本:

VERSION=v0.1.0 bash <(curl -fsSL https://raw.githubusercontent.com/monto-fe/smtp-probe/main/install.sh)

脚本会自动检测操作系统和架构,下载对应的二进制文件,并安装到 /usr/local/bin

从源码安装

需要 Go 1.22 或更高版本:

go install github.com/monto-fe/smtp-probe@latest
check 命令(基于 DNS)无需 25 端口即可使用。verify 命令需要出站 25 端口访问权限,该端口通常被 ISP 和云服务商封锁。

验证安装

smtp-probe --version

下一步