# Install mox with Homebrew, MacPorts, Nix

Modern full-featured open source secure mail server. Version 0.0.15 via Homebrew; verified 2026-07-29. Also installable with nix: nix profile install nixpkgs#mox.

## Install

```sh
sudo av install brew:mox
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mox
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mox
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#mox
```

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

## Package facts

- **Package key:** brew:mox
- **Package manager:** Homebrew
- **Version:** 0.0.15
- **Source summary:** Modern full-featured open source secure mail server
- **Homepage:** <https://www.xmox.nl>
- **Repository:** <https://github.com/mjl-/mox>
- **Last updated:** 2026-07-29T17:05:01+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- mox (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.0.15
## Project history and usage

Mox is an all-in-one mail server project whose site says work started in 2021 in response to email administration becoming concentrated around large cloud and hosting providers and to the operational burden of assembling many separate mail components. The project frames that burden as both usability and safety work: modern email requires SMTP, IMAP, authentication, TLS, DNS records, filtering, and policy protocols, often spread across several daemons.

### Project history

Mox's major technical milestone is its integrated design. The README describes one secure mail server for low-maintenance self-hosted email, with SMTP for receiving, submission, and delivery; IMAP4 for mail clients; webmail; SPF, DKIM, and DMARC; DMARC aggregate reports; reputation tracking; junk filtering; and setup flows that print the DNS records an administrator must add. The project site also describes a quickstart path and a `mox localserve` mode for local SMTP, IMAP, and webmail testing without a full public-domain setup.

### How it is used

In package-manager terms, Mox competes less with a single package than with stacks such as Postfix plus Dovecot plus filtering and policy tools. Its appeal is to self-hosters and small-domain administrators who want one Go program, one configuration model, and built-in modern mail hygiene instead of composing a mail system from many long-lived Unix services.

### Sources

- <https://formulae.brew.sh/formula/mox>
- <https://github.com/mjl-/mox>
- <https://pkg.go.dev/github.com/mjl-/mox>
- <https://www.xmox.nl/>
- <https://www.xmox.nl/features/>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal


## 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: mox.conf, domains.conf
## Other Package-Manager Records

- Nix - mox: normalized package name match | nixpkgs package indexes: pkgs/by-name/mo/mox/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - mox: normalized package name match | MacPorts ports tree: mail/mox/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/mox.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mox.yml)


## Sources

- 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
