Automic VaultAutomic Vault

brew

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

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install mailcatcher

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#mailcatcher

nixpkgs package indexes · pkgs/by-name/ma/mailcatcher/package.nix · ソース: api.github.com

概要

パッケージ概要

Catches mail and serves it through a dream

コマンドとエイリアス

  • catchmail
  • mailcatcher

履歴

プロジェクトの歴史と使われ方

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.

セキュリティ状態

リスクレベル: orange

formula declares a Homebrew service.

リスク分類器

リスク orange · 信頼度 中 · infrastructure

理由

  • formula declares a Homebrew service

信号

  • metadata:service

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • formula メタデータがサービスまたはデーモンブロックを宣言しています。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 3 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
catchmailcliグローバル実行可能ファイル
mailcatchercliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-08
マネージャ版0.10.0
マネージャ更新日
ローカルデータOK
上流最新
検出された最新v0.10.0

https://github.com/sj26/mailcatcher

  • 情報No package-manager update timestamp was available.信頼度 低

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:mailcatcher
バージョン0.10.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/mailcatcher
ホームページ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
依存関係libyaml, openssl@3, ruby
ビルド依存関係pkgconf
macOS 提供ライブラリlibedit, libffi, sqlite
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービスdeclared

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemailcatcher
Version Scheme0
Revision2
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

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

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

mailcatcher

nix profile install nixpkgs#mailcatcher
  • normalized package name match
  • 一致条件: Mailcatcher
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ma/mailcatcher/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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