macOS
brew install swakslocal Homebrew formula metadata
sudo port install swaksMacPorts ports tree · perl/swaks/Portfile · source: api.github.com
brew
SMTP command-line test tool. Version 20240103.0 via Homebrew; verified from local package data.
install
brew install swakslocal Homebrew formula metadata
sudo port install swaksMacPorts ports tree · perl/swaks/Portfile · source: api.github.com
sudo apk add swaksAlpine Linux edge package indexes · swaks · source: dl-cdn.alpinelinux.org
sudo apt install swaksDebian stable package indexes · swaks · source: deb.debian.org
sudo dnf install swaksFedora Rawhide package metadata · swaks · source: dl.fedoraproject.org
nix profile install nixpkgs#swaksnixpkgs package indexes · pkgs/by-name/sw/swaks/package.nix · source: api.github.com
sudo pacman -S swaksArch Linux sync databases · swaks · source: geo.mirror.pkgbuild.com
sudo zypper install swaksopenSUSE Tumbleweed package metadata · swaks · source: download.opensuse.org
overview
SMTP command-line test tool
history
Swaks, the Swiss Army Knife for SMTP, is a scriptable command-line SMTP transaction tester. It is used by mail operators, developers, and automation scripts to exercise SMTP, ESMTP, LMTP, TLS, authentication, and message-delivery edge cases.
The official project page describes Swaks as a featureful, flexible, scriptable, transaction-oriented SMTP test tool written and maintained by John Jetmore. The official versions page lists releases back to 2003, and the GitHub mirror/repository metadata shows the current source repository at jetmore/swaks.
Swaks has broad package-manager coverage because SMTP testing is useful on servers, workstations, CI systems, and mail infrastructure. The input package facts list packages across apk, Homebrew, Debian, Fedora/dnf, MacPorts, Nix, Arch/pacman, Ubuntu, and zypper.
The reference documentation emphasizes transactions: choose a recipient and server, test authentication, attach EICAR or GTUBE payloads for mail-filter checks, use LMTP over a Unix socket, or script recipient verification loops. Options can come from a config file, environment variables, or command-line flags, with later sources overriding earlier ones.
Swaks is beloved in package-manager culture because it is a single-purpose diagnostic executable with deep protocol knobs and minimal ceremony. It is the sort of tool administrators expect to install quickly during incident response, image building, or integration testing, which explains its presence in many Unix package sets.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
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.
$SWAKS_HOME/.swaksrc~/.swaksrc$LOGDIR/.swaksrcexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
swaks | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://www.jetmore.org/john/code/swaks/
install metadata
| Package key | brew:swaks |
|---|---|
| Version | 20240103.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/swaks |
| Homepage | https://www.jetmore.org/john/code/swaks/ |
| Repository | https://github.com/jetmore/swaks |
| Upstream docs | https://github.com/jetmore/swaks/blob/v20240103.0/doc/base.pod |
| License | GPL-2.0-or-later |
| Source archive | https://www.jetmore.org/john/code/swaks/files/swaks-20240103.0.tar.gz |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | swaks |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
swaks 20240103.0-2
SMTP command-line test tool
https://www.jetmore.org/john/code/swaks/
sudo apt install swaksswaks
nix profile install nixpkgs#swaksswaks 20240103.0-1
SMTP command-line test tool
https://www.jetmore.org/john/code/swaks/
sudo apt install swaksswaks 20240103.0-r0
Swiss Army Knife for SMTP
https://www.jetmore.org/john/code/swaks/
sudo apk add swaksswaks-doc 20240103.0-r0
Swiss Army Knife for SMTP (documentation)
https://www.jetmore.org/john/code/swaks/
sudo apk add swaks-docswaks 20240103.0-5.fc44
Command-line SMTP transaction tester
http://www.jetmore.org/john/code/swaks
sudo dnf install swaksswaks 20240103.0-3
Swiss Army Knife SMTP; Command line SMTP testing, including TLS and AUTH
https://jetmore.org/john/code/swaks/
sudo pacman -S swaksswaks 20240103.0-2.4
Swiss Army Knife for SMTP
https://jetmore.org/john/code/swaks/
sudo zypper install swaksswaks
sudo port install swakssource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.