Skip to main content
Tools

Deploy Mailpit on Your VPS

Deploy Mailpit on your VPS in one click. Local SMTP catcher with a web UI — modern fork of MailHog, perfect for dev and staging.

Mailpit is a local SMTP server with a web inbox. Apps point their SMTP config at port 1025 and every send shows up in the UI — never delivered for real. Use it on staging environments to verify email templates, reset flows, and signup emails without spamming real users.

It is the modern, actively-maintained fork of MailHog: faster UI, full-text search, attachment preview, multi-tag filters. Pair it with any application template that sends email and your development inbox lives on the URL Vessl gives you.

What's included

  • SMTP server on port 1025 — drop-in for any framework's mail config
  • Web UI for browsing, searching, and previewing captured messages
  • Multipart, HTML, and attachment rendering
  • Configurable ring-buffer (default 5 000 messages)
  • Modern fork of MailHog — actively maintained

Common use cases

  • Capture transactional email in development / staging
  • Verify password-reset and signup-confirmation flows without real delivery
  • Visual review of HTML email templates before production push
Docker image
axllent/mailpit:latest
Services
1 container
Pricing
Free — billed per VPS, not per template

Frequently asked questions

How do I point my application at Mailpit?

In your framework's mail config, set MAIL_HOST to the Mailpit service name and MAIL_PORT to 1025. No username or password required by default — Mailpit accepts any auth attempt.

Will real email be delivered?

No. Mailpit is a black hole — every message lands in its UI and goes nowhere else. Switch to a real SMTP provider (Mailgun, SES, Postmark) when you go to production.

Is this the same as MailHog?

Mailpit is the actively-maintained fork. The original MailHog has been unmaintained since 2020. Mailpit fixes the long-standing UI sluggishness and adds features (search, attachments, themes).

Ready to ship?

Deploy Mailpit in under a minute.

Connect your VPS, pick this template, fill in any required fields. Vessl handles the container, SSL, and persistent storage.

Start for Free

No credit card · BYOS · IDR billing