Automic VaultAutomic Vault

brew

Install mailcatcher with Homebrew, Nix

Catches mail and serves it through a dream. Version 0.10.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install mailcatcher

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#mailcatcher

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

overview

Package summary

Catches mail and serves it through a dream

Commands and aliases

  • catchmail
  • mailcatcher

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: orange

formula declares a Homebrew service.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • formula declares a Homebrew service

Signals

  • metadata:service

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Formula metadata declares a service or daemon block.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 3 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
catchmailcliglobal executable
mailcatchercliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.10.0
manager updated
local dataok
upstreamcurrent
latest detectedv0.10.0

https://github.com/sj26/mailcatcher

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:mailcatcher
Version0.10.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/mailcatcher
Homepagehttps://mailcatcher.me
Repositoryhttps://github.com/sj26/mailcatcher
Upstream docshttps://github.com/sj26/mailcatcher#readme
LicenseMIT
Source archivehttps://github.com/sj26/mailcatcher/archive/refs/tags/v0.10.0.tar.gz
Dependencieslibyaml, openssl@3, ruby
Build dependenciespkgconf
Uses from macOSlibedit, libffi, sqlite
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicedeclared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

mailcatcher

nix profile install nixpkgs#mailcatcher
  • normalized package name match
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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