esc
Type to search the docs
Back to catalog

mailpit

Tested

Email testing tool with SMTP server and web UI (successor to MailHog)

Run locally

Tested and verified to launch successfully.

Terminal
$ npx launchfile up mailpit

Requires Docker Desktop. No source code needed — pulls pre-built images and starts mailpit with all dependencies.

Image: axllent/mailpit:latest
Launchfile View on GitHub
# yaml-language-server: $schema=https://launchfile.dev/schema/v1
version: launch/v1
name: mailpit
description: "Email testing tool with SMTP server and web UI (successor to MailHog)"
repository: https://github.com/axllent/mailpit
logo: https://raw.githubusercontent.com/axllent/mailpit/develop/server/ui-src/public/mailpit.svg

# Mailpit is the actively maintained successor to MailHog.
# Drop-in replacement: point your app's SMTP at this on port 1025,
# then view captured emails in the web UI on port 8025.
image: axllent/mailpit:latest
provides:
  - name: web-ui
    protocol: http
    port: 8025
    exposed: true
  - name: smtp
    protocol: tcp
    port: 1025
storage:
  data:
    path: /data
    persistent: true
env:
  MP_DATABASE:
    default: "/data/mailpit.db"
    description: "Path to the SQLite database for message storage"
  MP_MAX_MESSAGES:
    default: "5000"
    description: "Maximum number of messages to store (0 = unlimited)"
restart: always

Test Results

Last Tested

2026-04-08

Health Check

Passing

Startup Time

2s

Total Disk

34 MB

Learn More

Spec references for features used in this Launchfile.

Related Apps