Back to Apps
Maildev

Deploy Maildev on Your Own Server

MailDev is a simple way to test your project's generated email during development.

🛠️ Developer Tools

Want to deploy Maildev on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.

Get Started

What is Maildev?

MailDev is a simple way to test your project's generated email during development, with an easy to use web interface that runs on your machine built on top of Node.js. More information about this container can be found here: https://hub.docker.com/r/maildev/maildev . Official website: https://maildev.github.io/maildev/ After installation on Senate, it will be available as <service_name> at port 1080 to other Senate apps .

Self-Host Maildev

Follow these steps to deploy on your own server.

1

Install Docker

Skip this step if Docker is already installed on your server.

curl -fsSL https://get.docker.com | sh
2

Configure

Customize the settings below. Defaults work for most cases.

General
3

Deploy

Copy the configuration and run it on your server.

services:
  maildev:
    image: maildev/maildev:2.1.0
    environment:
      MAILDEV_IP: "::"
      MAILDEV_MAIL_DIRECTORY: /data
      MAILDEV_SMTP_PORT: "1025"
      MAILDEV_WEB_PASS: f1a68e91
      MAILDEV_WEB_USER: admin
    volumes:
      - maildev-data:/data
    ports:
      - $$cap_maildev_smtp_port:1025
volumes:
  maildev-data: {}

Then run:

docker compose up -d
4

Access

Once started, access your app at http://localhost:1080

Why Self-Host Maildev?

Full Data Ownership

Your data stays on your servers. No third-party access.

No Monthly Fees

Pay only for your server. No per-seat or usage charges.

Complete Control

Customize, backup, and scale on your own terms.

Privacy & Compliance

Meet GDPR, HIPAA, or internal security requirements.

Technical Details

Docker Image

maildev/maildev:${maildev_version}

Want to go faster?

Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.

Install on any Linux server:

sh -c "$(curl -sSL https://get.senate.sh)"