# swaks を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

swaks のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:swaks
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install swaks
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install swaks
```

  証拠: MacPorts ports tree: perl/swaks/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add swaks
```

  証拠: Alpine Linux edge package indexes: swaks from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install swaks
```

  証拠: Debian stable package indexes: swaks from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install swaks
```

  証拠: Fedora Rawhide package metadata: swaks from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#swaks
```

  証拠: nixpkgs package indexes: pkgs/by-name/sw/swaks/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S swaks
```

  証拠: Arch Linux sync databases: swaks from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install swaks
```

  証拠: openSUSE Tumbleweed package metadata: swaks from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:swaks
- **パッケージマネージャ:** Homebrew
- **バージョン:** 20240103.0
- **ソース概要:** SMTP command-line test tool
- **ホームページ:** <https://www.jetmore.org/john/code/swaks/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- swaks (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 20240103.0
## プロジェクトの歴史と使われ方

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.

### タイムライン

- 2003: Earliest official release listed on the Swaks versions page.
- 2017: GitHub repository created.
- 2020: v20201014.0 and v20201024.0 releases appear in the official versions history.
- 2024: v20240103.0 released as the latest version listed on the official project page during research.

### Related projects

- Swaks is related to SMTP, ESMTP, LMTP, TLS, authentication mechanisms, mail filters, and test payload conventions such as EICAR and GTUBE, all of which appear in its official examples and feature list.

### ソース

- <https://api.github.com/repos/jetmore/swaks>
- <https://www.jetmore.org/john/code/swaks/>
- <https://www.jetmore.org/john/code/swaks/latest/doc/ref.txt>
- <https://www.jetmore.org/john/code/swaks/versions.html>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

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.


## Configuration files

- Unix: $SWAKS_HOME/.swaksrc, ~/.swaksrc, $LOGDIR/.swaksrc
## 他のパッケージマネージャ記録

- Debian apt - swaks - 20240103.0-2: normalized package name match | Debian stable package indexes: swaks from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SMTP command-line test tool | https://www.jetmore.org/john/code/swaks/
- Nix - swaks: normalized package name match | nixpkgs package indexes: pkgs/by-name/sw/swaks/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - swaks - 20240103.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: swaks from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | SMTP command-line test tool | https://www.jetmore.org/john/code/swaks/
- apk - swaks - 20240103.0-r0: normalized package name match | Alpine Linux edge package indexes: swaks from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Swiss Army Knife for SMTP | https://www.jetmore.org/john/code/swaks/
- apk - swaks-doc - 20240103.0-r0: normalized package name match | Alpine Linux edge package indexes: swaks-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Swiss Army Knife for SMTP (documentation) | https://www.jetmore.org/john/code/swaks/
- dnf - swaks - 20240103.0-6.fc45: normalized package name match | Fedora Rawhide package metadata: swaks from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Command-line SMTP transaction tester | http://www.jetmore.org/john/code/swaks
- pacman - swaks - 20240103.0-3: normalized package name match | Arch Linux sync databases: swaks from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Swiss Army Knife SMTP; Command line SMTP testing, including TLS and AUTH | https://jetmore.org/john/code/swaks/
- zypper - swaks - 20240103.0-2.6: normalized package name match | openSUSE Tumbleweed package metadata: swaks from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Swiss Army Knife for SMTP | https://jetmore.org/john/code/swaks/
- MacPorts - swaks: normalized package name match | MacPorts ports tree: perl/swaks/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/swaks.yml](https://github.com/mxcl/pkgdb/blob/main/combined/swaks.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
