# Install mailpit with Homebrew, MacPorts, Nix, scoop, winget

Web and API based SMTP testing. Version 1.30.3 via Homebrew; verified 2026-06-27.

## Install

```sh
sudo av install brew:mailpit
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mailpit
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mailpit
```

  Evidence: MacPorts ports tree: mail/mailpit/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#mailpit
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/mailpit
```

  Evidence: Scoop official bucket manifest trees: bucket/mailpit.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id axllent.mailpit -e
```

  Evidence: Windows Package Manager source index: axllent.mailpit from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:mailpit
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/mailpit>
- **Version:** 1.30.3
- **Source summary:** Web and API based SMTP testing
- **Homepage:** <https://mailpit.axllent.org/>
- **Repository:** <https://github.com/axllent/mailpit>
- **Upstream docs:** <https://mailpit.axllent.org/docs>
- **License:** MIT
- **Source archive:** <https://github.com/axllent/mailpit/archive/refs/tags/v1.30.3.tar.gz>
- **Last updated:** 2026-06-27T12:13:34Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- mailpit (cli)
- mailpit (alias)

## Build dependencies

- go
- node

## Install behavior

- Post-install hook: not defined
- Service: declared
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.30.3
- Package-manager updated: 2026-06-27
- Local data: ok
- Upstream repository: https://github.com/axllent/mailpit
- Upstream latest detected: v1.30.3 (current)
## Project history and usage

Mailpit is a Go-based email and SMTP testing tool for developers, combining an SMTP server, modern web UI, REST API, and optional POP3/relay/forwarding features in a single static binary or Docker image.

### Project history

The public GitHub repository was created in July 2022, and the first listed GitHub release, `0.0.1-beta`, was published the same day. The README states that Mailpit was originally inspired by MailHog, which the project identifies as no longer maintained.

Mailpit's development direction is explicit in its official docs: it keeps the one-command local SMTP sink pattern but expands it with a modern UI, API-first integration testing, HTML/link/spam checks, message tagging, webhook support, SMTP relaying and forwarding, optional authentication, and persistent SQLite-backed storage.

### Adoption history

Mailpit grew quickly for a young developer tool. Repository metadata shows thousands of GitHub stars by 2026, regular releases through the v1.30 series, and active updates. The README advertises static binaries, Docker images, Homebrew, AUR, and FreeBSD package installation.

The input package-manager facts show broad packaging across Homebrew, MacPorts, Nix, Scoop, and Winget. That cross-platform spread matters because email testing tools are often used by mixed teams and in CI systems where a single static binary is easier than a language-specific runtime.

### How it is used

The default developer flow is to run `mailpit`, point an application at SMTP port 1025, and open the web UI on port 8025. Tests can use the REST API, while users can add authentication, TLS, POP3, SMTP relay, forwarding, webhooks, and persistent storage through flags or environment variables.

The docs also describe Homebrew service usage, Docker deployment, sendmail substitution, and runtime options. For package users, Mailpit is attractive because it is a single binary with many integration-test affordances that previously required gluing several tools together.

### Why package nerds care

Mailpit is significant in package-manager culture as a modern successor-style tool for the local fake-SMTP niche: small enough to install globally, but featureful enough for automated test suites and shared development environments.

It also shows how packaging expectations changed since older tools such as MailCatcher and MailHog: users expect static binaries, Docker images, Homebrew services, Windows package-manager entries, health/API endpoints, and release cadence suitable for CI pinning.

### Timeline

- 2022: Repository created and `0.0.1-beta` released.
- 2023: v1.9.x and v1.10.0 releases published.
- 2024: Continued v1.x releases and documentation around static binaries, Docker, and package managers.
- 2026: v1.30.x releases published with active repository updates.

### Related projects

- The README explicitly names MailHog as an inspiration and maintenance-gap motivation.
- Mailpit is related to MailCatcher and other fake-SMTP development tools, but emphasizes a single static binary, API support, and modern web UI features.

### Sources

- <https://api.github.com/repos/axllent/mailpit>
- <https://api.github.com/repos/axllent/mailpit/releases>
- <https://github.com/axllent/mailpit>
- <https://mailpit.axllent.org/docs>
- <https://mailpit.axllent.org/docs/configuration/runtime-options/>
- source_facts.package-manager
- source_facts.repo


## Security Notes

formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- formula declares a Homebrew service

## Source Database Details

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

## Other Package-Manager Records

- Nix - mailpit: normalized package name match | nixpkgs package indexes: pkgs/by-name/ma/mailpit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - mailpit: normalized package name match | MacPorts ports tree: mail/mailpit/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/mailpit: normalized package name match | Scoop official bucket manifest trees: bucket/mailpit.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - axllent.mailpit: normalized package name match | Windows Package Manager source index: axllent.mailpit from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [node](https://www.automicvault.com/pkg/brew/node/) - Build dependency declared by Homebrew.
- [fake-gcs-server](https://www.automicvault.com/pkg/brew/fake-gcs-server/) - Shares av.db curated category or tags: api, cli, developer-tools, testing.
- [morpheus](https://www.automicvault.com/pkg/brew/morpheus/) - Shares av.db curated category or tags: cli, developer-tools, email, smtp, testing.
- [abnfgen](https://www.automicvault.com/pkg/brew/abnfgen/) - Shares av.db curated category or tags: cli, developer-tools, testing.
- [allure](https://www.automicvault.com/pkg/brew/allure/) - Shares av.db curated category or tags: cli, developer-tools, testing.
- [artillery](https://www.automicvault.com/pkg/brew/artillery/) - Shares av.db curated category or tags: cli, developer-tools, testing.
- [buildpulse-test-reporter](https://www.automicvault.com/pkg/brew/buildpulse-test-reporter/) - Shares av.db curated category or tags: cli, developer-tools, testing.
- [busted](https://www.automicvault.com/pkg/brew/busted/) - Shares av.db curated category or tags: cli, developer-tools, testing.
- [bzt](https://www.automicvault.com/pkg/brew/bzt/) - Shares av.db curated category or tags: cli, developer-tools, testing.
- [mailcatcher](https://www.automicvault.com/pkg/brew/mailcatcher/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, email, email-testing.
- [schemathesis](https://www.automicvault.com/pkg/brew/schemathesis/) - Local package facts share a topical domain. Shared terms: api, based, cli, developer, developer-tools.

## Combined YAML source

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


## Sources

- 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
