# mailcatcher を Homebrew, Nix でインストール

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

## インストール

```sh
sudo av install brew:mailcatcher
```

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

### macOS

- Homebrew (100%):

```sh
brew install mailcatcher
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#mailcatcher
```

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

## パッケージ情報

- **パッケージキー:** brew:mailcatcher
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/mailcatcher>
- **バージョン:** 0.10.0
- **ソース概要:** Catches mail and serves it through a dream
- **ホームページ:** <https://mailcatcher.me>
- **リポジトリ:** <https://github.com/sj26/mailcatcher>
- **上流ドキュメント:** <https://github.com/sj26/mailcatcher#readme>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/sj26/mailcatcher/archive/refs/tags/v0.10.0.tar.gz>
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

- catchmail (cli)
- mailcatcher (cli)
- catchmail (エイリアス)
- mailcatcher (エイリアス)

## 依存関係

- libyaml
- openssl@3
- ruby

## ビルド依存関係

- pkgconf

## macOS 提供ライブラリ

- libedit
- libffi
- sqlite

## インストール挙動

- post-install フック: 未定義
- サービス: declared
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 0.10.0
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/sj26/mailcatcher
- 検出された最新: v0.10.0 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

MailCatcher is a Ruby-based development SMTP sink: it runs a local SMTP server, captures outgoing mail, and exposes the captured messages in a web interface. The official README's default flow is still the classic developer loop: install, run `mailcatcher`, point an app at SMTP port 1025, and inspect mail on HTTP port 1080.

### プロジェクトの歴史

The GitHub repository was created in October 2010, and the README copyright line credits Samuel Cochran from 2010 onward. MailCatcher emerged in the Ruby/Rails era where developers often needed to test application mail without sending real messages to users.

The tool's feature set stayed intentionally narrow and packageable: capture all mail, show HTML/plain/source views, rewrite embedded assets for display, expose attachments, support a sendmail-like `catchmail` helper, and provide command-line flags for SMTP and HTTP bind addresses and ports. Later releases added Docker usage examples and a simple REST-style message API.

### 採用の歴史

MailCatcher became a well-known local mail-testing package across Ruby and web-development workflows. Official instructions cover Rails, PHP, Django, Docker, RVM, Bundler caveats, and direct RubyGems installation, showing adoption across more than Ruby-only projects.

Repository metadata shows thousands of GitHub stars and hundreds of forks. The input package-manager facts confirm Homebrew and Nix packaging, while the README recommends keeping MailCatcher out of application Gemfiles to avoid dependency conflicts, reinforcing its role as a separate developer tool.

### 使われ方

The standard usage pattern is to run MailCatcher as a daemon or foreground process, configure the application under test to deliver mail to `smtp://127.0.0.1:1025`, and review the results at `http://127.0.0.1:1080/`. `catchmail` lets PHP and other sendmail-oriented software hand messages to the same capture service.

Package users care about its defaults: port 1025 for SMTP, port 1080 for HTTP, and command-line options rather than a project-specific config file. That makes it easy to install globally with a package manager and use across many local projects.

### パッケージ好きにとっての重要性

MailCatcher is historically important because it made fake SMTP a one-command local service before containerized dev stacks were the default. It is small, memorable, and easy to script, which is exactly why it kept showing up in package managers.

Its packaging story also highlights a common Ruby tool issue: the README explicitly warns against putting MailCatcher in an app Gemfile because its dependencies can conflict with the application. Installing it as a system or user tool via RubyGems, Homebrew, Nix, or Docker keeps that boundary clean.

### タイムライン

- 2010: Public GitHub repository created.
- 2016: Older v0.6.x GitHub releases published.
- 2021: v0.8.0 release published.
- 2022: v0.8.2 release published.
- 2023: v0.9.0 release published.
- 2024: v0.10.0 release published.

### Related projects

- MailCatcher is related to other local SMTP testing tools such as MailHog and Mailpit.
- It also fits alongside framework-specific mail preview tools, but differs by acting as an external SMTP server that any application can target.

### ソース

- <https://api.github.com/repos/sj26/mailcatcher>
- <https://api.github.com/repos/sj26/mailcatcher/releases>
- <https://github.com/sj26/mailcatcher>
- <https://mailcatcher.me/>
- source_facts.package-manager
- source_facts.repo


## セキュリティノート

formula declares a Homebrew service.

- **Geiger リスク:** orange / 中
- formula declares a Homebrew service

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mailcatcher
- **Version Scheme:** 0
- **Revision:** 2
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 他のパッケージマネージャ記録

- Nix - mailcatcher: normalized package name match | nixpkgs package indexes: pkgs/by-name/ma/mailcatcher/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 関連リンク

- [Package publisher tools](https://www.automicvault.com/ja/pkg/package-publishers/) - Belongs to a package publishing or registry command family.
- [Secret-risk packages](https://www.automicvault.com/ja/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/ja/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [openssl@3](https://www.automicvault.com/ja/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [ruby](https://www.automicvault.com/ja/pkg/brew/ruby/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/ja/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [mailpit](https://www.automicvault.com/ja/pkg/brew/mailpit/) - Shares av.db curated category or tags: cli, developer-tools, email-testing, smtp.
- [anycable-go](https://www.automicvault.com/ja/pkg/brew/anycable-go/) - Shares av.db curated category or tags: cli, developer-tools, ruby.
- [arelo](https://www.automicvault.com/ja/pkg/brew/arelo/) - Shares av.db curated category or tags: cli, developer-tools, development.
- [bento](https://www.automicvault.com/ja/pkg/brew/bento/) - Shares av.db curated category or tags: cli, developer-tools, development.
- [binutils](https://www.automicvault.com/ja/pkg/brew/binutils/) - Shares av.db curated category or tags: cli, developer-tools, development.
- [brew-gem](https://www.automicvault.com/ja/pkg/brew/brew-gem/) - Shares av.db curated category or tags: cli, developer-tools, ruby.
- [chruby](https://www.automicvault.com/ja/pkg/brew/chruby/) - Shares av.db curated category or tags: cli, developer-tools, ruby.
- [cucumber-ruby](https://www.automicvault.com/ja/pkg/brew/cucumber-ruby/) - Shares av.db curated category or tags: cli, developer-tools, ruby.
- [maildev](https://www.automicvault.com/ja/pkg/npm/maildev/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, development, email.
- [localstack](https://www.automicvault.com/ja/pkg/brew/localstack/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, development, libyaml.

## Combined YAML source

View the package source record on GitHub. [combined/mailcatcher.yml](https://github.com/automic-vault/db/blob/main/combined/mailcatcher.yml)


## ソース

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
